Aim Offset Yaw not replicating to other clients, only working on server

Hi

I am trying to calculate Pitch & Yaw for my characters (multiplayer shooter) but for some reason despite using the very same code word by word on the course, the pitch seems to replicate but not the Yaw. Basically when I run the game as a host with 2 clients:

Host: Pitch & Yaw work on the server only but clients can only see the pitch

Clients 1: Pitch & Yaw work locally & on Server (i.e. updates for the host) but client2 can only see the pitch updating but not Yaw

Clients 2: Pitch & Yaw work locally & on Server (i.e. updates for the host) but other client1 can only see the pitch updating but not Yaw

So it seems that the server is not passing the Yaw for some reason to clients.

I have tried replicating the yaw (without Rep_Notify) and it still doesn’t work

I am using UE5.1.1

Here is a snippet of the relevant code:
Header:


Source (.cpp)

Animation BP (AnimGraph)

I also started everything from scratch in a new project using UE5.1 and blueprints, but still same results:

Help appreciated
Thanks

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms