Actors incorectly attached to other Actor

I have been working on a multiplayer FPS and want to attach weapon to FPP and TPP meshes with this structure


This work completely fine without any replication, but when i start to adding replication to game this happening: to TPP mesh weapon attaching but not for FPP and i cant understand why

1 Like

So does this work correctly without replication?

1 Like

Yes.

And to be clear.
This function call on server and i think its is a problem. When i try to read “isLocallyController” is always return false, but cant figure how to properly read this value

1 Like

And where is this function/event located? Is it being called from the character BP or player controller/gamemode/etc?

Usually, you would want to call a multicast event from your server event which will show the results to all clients. However that might not be the case here and I’m not sure how to approach this without any more detail.

1 Like

Located in Character BP and calling this way
image

1 Like

Ok i found solution
I make new repNotify variable and call this insted of “attach actor to component fucntion” and inside repNotify do this:

2 Likes