I’m having a problem with an animation running to other servers.
The problem is that i have a “weapon reference” , the weapon reference has a “weapon type” enum and will switch to different animations based on the enum.
Overview on the setup :
I think it’s important to notice that “weapon reference” is the master BP for weapons. I have 2 kinds of weapons : Guns and Melees.
However, the animation won’t play with my “montage play” setup.
I use this to stop the animation if the condition is no longer true. and don’t play it if it’s currently being played.
However, i think it won’t play the animations to other clients because for some reason, for the other clients(not the one that requested the animation to be played) , the weapon reference is null. What i don’t understand is : The weapon reference variable is being replicated and it is being correctly set to the server and to the client.
I also tried using a multicast , but it did nothing.
Here’s the reason i think it’s not playing for the other clients :
I wan’t to say that i have no idea if that’s the problem, so don’t assume the problem is what i said, it could very well be any other thing.