Some methods that are killing unity and crashing into the dirt…
ServerChangeScene
and whatever call it uses to end the server from the default onGUI networking ui.
Anyone else have this problem?
Sometimes if I press the play button to stop the scene, unity crashes.
No crash report, no nothing…
From my portal script I have
networkManager.ChangeScenes(sceneName);
And in my NetworkManager script my ChangeScenes is
//change scenes
public void ChangeScenes(string name){
NetworkManager.singleton.ServerChangeScene (name);
}
I pretty sure I am calling this correct. But as soon as it runs ServerChangeScene, “Unity Editor has stopped working”