Character Movement & Visibility Replication

Hi,

I have a character that hides in a box when pressing ‘E’.

I am setting the character’s mesh visibility to ‘Hidden’ and also disabling it’s movement (if inside the box).

On server (works perfectly):
The character gets hidden and is not visible to the clients

But if I do the same on a particular client:
The server and other clients can still see the character and can even still see the player moving (if I press W,A,S or D).

Any help is appreciated as this is driving me crazy. Thanks in advance.

Hi Chistian, the problem you’re encountering has to do with the skeletal mesh not replicating the hidden state to clients. The easiest solution is to have a replicated boolean that uses a repnotify function to tell clients to hide or unhide the mesh.