Search Issue Tracker

Won't Fix

Votes

10

Found in

5.6.0b5

Issue ID

875044

Regression

No

[Multiplayer] Inconsistency in order of Start() and OnStartAuthority() calls on the Host and Client

Networking

-

Inconsistency in order of Start() and OnStartAuthority() calls on the Spawnable Objects between Host and Client:
- on the Host - first is Start() called
- on the Client - first is OnStartAuthority()

How we can reproduce it using the example you attached
--- please see attached video in comments ---
1 Open attached project and open scene "sc1"
2 Press Play -> LAN Host and press "Space"-button on the keyboard - notice that Start() is called first (logs in the Console)
3 Exit Play mode
4 Build and Run Standalone player and start "Server Only"
5 In Editor press Play and start "Client" -> then press "Space"-button on the keyboard - notice that OnStartAuthority() is called first (logs in the Console)

Actual result:
as you can see in the Console - the order of calling Start() and OnStartAuthority() is different

Expected result:
order of calling Start() and OnStartAuthority() should be the same on the Host and on the Client

  1. Response avatar

    Resolution Note (fix version ):

    Mass closure of UNET Bugs.
    As UNet is Deprecated we are moving to low maintenance mode, where critical issues can get fixes.
    Closing this bug as part of cleaning-up the Bug List.

    If you feel this bug is really a road-blocker, you can reopen the bug and we will work this one.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.