Blueprint replication issue

Hi, please see my screenshot.

Basically this blueprint is a weapon mounted the the roof of the car, and the mesh called “Minigun” is suppose to rotate (Roll, Yaw). It rotates fine locally for each player, but I cannot get it for the life of me to replicate on the other clients (or even the server)

Any help will be much appreciated as I have been stuck on this issue for a few days now…

ps. If this is any help, the “On Rotate” event is being called from the Player Actor Pawn Blueprint that is being triggered by the mouse x,y movements.

BP_Minigun needs “Replicates” set to true.

The Player that is using the Minigun needs to be the “Owner” of it or the “Run On Server” RPC will fail. See the note on the event "Replicated to Server (If owning client).
This could be done when the player prepares to use the gun with “Set Owner” done by the server and setting the gunner player “Player Controller” as the “Owner” of the minigun.

You also need to ensure that the BP_Minigun is being spawned by the server and replicated to the clients or none of the above will work.

1 Like

Thanks for the guidance. Will check it out a bit later but makes sense to me now.