Aim Offset setup only replicates to two clients, third is incorrect

Hello Unreal engineers,

I’m working on a Animation Blueprint and had to setup Aim Offset for the character. I followed this tutorial and everything worked fine. But for some reason the replication works only for two connected clients. Third is offset by 90 degrees or so.

Here’s an image for easier understanding:

And if you notice the same thing happens for others. For example, client 1 is relevant only for self and server. Server is relevant for self and Client 2, and Client 2 is relevant only for self and server.

Not sure what I’m doing wrong. I set my Yaw and Pitch variables as replicated, but it doesn’t work.

Any ideas?

You will need to do something like this:


And then just set your Player Aim Pitch and Yaw in your animation blueprint to those variables.

There is a whole discussion about this here: Serious shot replication problem [video] - C++ Gameplay Programming - Unreal Engine Forums