Good day!
I have a weird issue with my animations in UE5.
My characters are always in the “entry” pose when watching from the “server” as seen in GIF:
However, the animations work just fine when playing.
As seen in pic:
Excuse the mess, but this is how its set up:
The “entry animation” in the “Open” state is the pose in thats being previewed in the image above. Idle animation with the hands down. The AnimBP then finds what weapon the player is holding and playing a “draw weapon” animation and then going in to the “Idle” state for that weapon.
As you also can see in the image above, the server showing the animation blueprint is in its correct state, but the animation playing does not correspond with the state.
Again, the animations themselves work just fine. For both the server and client.
The issue is when I try and spawn something from the barrel of the gun, I want to spawn that object from the server.
The animation playing on the server is this “hands down idle” animation which has the gun pointing down in the ground.
So, the rocket spawns in the ground and instantly explodes.
This does not happen when playing as the server, only the client.
Now, I know what you might think, “the variable driving the animation is not replicated on the server”
Well, I introduce exhibit D
Here you can see the variable driving the animation from its “entry” state to the “draw animation state” and the variable is correct!
Its just somehow not playing the correct animation on the server as it does to the client??
I am very confused about this as you might tell. Please let me know if you think you can help. Really appreciate you taking the time to read.
Best,
Joe