Rotation replication not working properly

replication is working when using the node “Add Controller Yaw Input” but it does not when using “SetActorRotation”.

fixed using the controller rotation