Search Unity

Server only with rigidbody2D + localPlayerAuthority cause the player to shake

Discussion in 'Multiplayer' started by HugoZandel, Jul 2, 2015.

  1. HugoZandel

    HugoZandel

    Joined:
    Mar 11, 2014
    Posts:
    52
    Hello,

    I have a Player prefab with a networktransform that syncs the rigidbody2D. The networkIdentity has localplayerAuthority checked.

    When I run the game with a host (Client + Server) everything is fine. However, when I run only the server and connect with a client. The player on the server side is shaking whenever there's a movement on the clients' side. This causes the player to die because it's hitting every collider in the scene. (It's moving randomly in the scene)

    I'm not sure what I did wrong.

    Thanks,

    Hugo