- Home /
Question by
AVAVT · Mar 07, 2017 at 04:27 PM ·
networkingspawning problemslobby
UNET: PlayerPrefab's `Start()` is being called before play scene's `Awake()`
I'm using the Network Lobby asset to create a lobby for my game. The game's working fine on editor, but when I build to PC something weird happens: The Start() function of the first player object is being called before the Awake() of everything else within the scene.
I'm having trouble debugging because the bug only happen on PC builds. But I believe currently the script execution order is something like:
First player's Start() -> all Awake() within game scene -> other players' Start()
Please help me make first's player Start() execute when it should normally!
Comment