# Aim Offset for Yaw NOT replicating to other clients (only on server)

**URL:** <https://forums.unrealengine.com/t/aim-offset-for-yaw-not-replicating-to-other-clients-only-on-server/879951>\
**Category:** C++\
**Tags:** unreal-engine, question, CPP\
**Created:** [April 9, 2023, 4:14am UTC](https://forums.unrealengine.com/t/aim-offset-for-yaw-not-replicating-to-other-clients-only-on-server/879951 "2023-04-09T04:14:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![M0rph3u5\_UK](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/m0rph3u5_uk/32/899226_2.png) [@M0rph3u5\_UK](https://forums.unrealengine.com/u/M0rph3u5_UK)\
**Post date:** [April 9, 2023, 4:14am UTC](https://forums.unrealengine.com/t/aim-offset-for-yaw-not-replicating-to-other-clients-only-on-server/879951/1 "2023-04-09T04:14:16Z")

</div>

Hi

I am trying to calculate Pitch & Yaw for my characters (multiplayer shooter) following a course but for some reason despite using the very same code word by word, 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 UE 5.1.1

Here is a snippet of the relevant code:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/3/953084f71906fdaeb167f4a7134c2e75bc55557e.jpeg)

Here is a snippet of the relevant code:

Header(.h)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/d/c/2dc5df98bacb0588f3786385f20b45841417b340.png)  
Source (.cpp)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/8/5/b851f5e92458bd3f8c6198708fe7e5be4dec7bbb.jpeg)  
Animation Blueprint (Anim Graph)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/9/3/2932582fa561b5ed22325f3c7f85f4d3eb13424e.jpeg)

Note I have even tried this in an entirely different project in UE5.1 using blueprints (shorter version) and still same results:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/0/3d0b361314af97579b52a8857191ef52e0f8173d.png)

Help is really appreciated

---

<div class="post-metadata">

**Author:** ![JohnBlack121701](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JohnBlack121701](https://forums.unrealengine.com/u/JohnBlack121701)\
**Post date:** [March 7, 2024, 10:47am UTC](https://forums.unrealengine.com/t/aim-offset-for-yaw-not-replicating-to-other-clients-only-on-server/879951/2 "2024-03-07T10:47:08Z")

</div>

Any progress on this mate?
