Search Unity

  1. We are looking for your feedback about Templates! Tell us about your experiences by taking our survey.
    Dismiss Notice
  2. Curious about what's going to be in 2021.1? Have a look at the 2021.1 beta blog post.
    Dismiss Notice
  3. Want to see 2021.1b in action? Sign up for our 2021.1 Beta Webinar on February 25 for a live presentation and a Q&A session with guests from R&D.
    Dismiss Notice

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:
    249
    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:
    249
    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:
    249
    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
unityunity