Download

Client/Server desync issue

Hey all, I’ve been having an issue that seemed randomly appeared in my project and I can’t figure out why or how to fix it.
It seems the capsule component detaches from the character mesh randomly during play.

While playing client side the server hosts character mesh will stop in place and never return to the players position. While playing as server host, the client will be the correct position but eventually the clients position will become offset, but never just stop in place.

This has occurred almost ever session I’ve had testing the game with friends.
I can also replicate this from alt-tabbing from on standalone game window to another.

As seen in the photo, the server host (in blue) stands on the left side of the client (in red). But the client sill sees the server host in the position where I switched to control the client. The server host can fire a projectile that will be seen by the client from where the hosts capsule component is located.

This is my first multiplayer game so any help would be greatly appreciated! :slight_smile: