Search Unity

Unity Multiplayer Player Authoritative movement broken?

Discussion in '5.3 Beta' started by CodeBison, Nov 8, 2015.

  1. CodeBison

    CodeBison

    Joined:
    Feb 1, 2014
    Posts:
    213
    My network projects that worked fine in 5.3.0b4 and previous don't sync movement from client to server in 5.3.0b5 or 5.3.0b6 when Local Player Authoritative is set true (though server -> client is fine). On investigation, I found that the server shows hasAuthority==true for all player objects, which I'd guess is the reason.

    Server's player object:
    upload_2015-11-8_0-43-36.png

    Server copy of a remote client's player object:
    upload_2015-11-8_0-44-25.png

    I've created a basic repro project (WASD to move): TestProject.zip
     
    Last edited: Nov 10, 2015
  2. CodeBison

    CodeBison

    Joined:
    Feb 1, 2014
    Posts:
    213
    Has anyone else seen this behavior? Or conversely, is anyone else using the HLAPI in 5.3.0b5 and not having this problem? If the problem is somehow on my end I'd like to know so I can fix it.
     
  3. CodeBison

    CodeBison

    Joined:
    Feb 1, 2014
    Posts:
    213
    I've tried this in 5.3.0b6, and the issue is still present. 5.3.0b4 is fine though. Looks like it was introduced in 5.3.0b5, which is weird, since the release notes don't mention networking at all.

    I've updated original post with these details.
     
    Last edited: Nov 10, 2015