Quantcast
Channel: Multiplayer
Viewing all articles
Browse latest Browse all 16796

NetworkStartPosition not registered until after player spawned.

$
0
0
NetworkStartPosition not registered until after player spawned. This works fine in the editor but I am having this issue in builds.

NetworkLobbyPlayer.OnLevelWasLoaded is used to send the ready message which changes the scene. but called before NetworkStartPosition can call Awake so my Players spawn at (0,0,0).

I tried changing ScriptExecutionOrder but that didn't work. I also tried overriding the OnLevelWasLoaded and having a method call the SendSceneLoadedMessage() call from Start()...

NetworkStartPosition not registered until after player spawned.

Viewing all articles
Browse latest Browse all 16796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>