We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f996f9a commit be739d3Copy full SHA for be739d3
MLAPI/SceneManagement/NetworkSceneManager.cs
@@ -84,6 +84,8 @@ public static SceneSwitchProgress SwitchScene(string sceneName)
84
85
// Move ALL networked objects to the temp scene
86
MoveObjectsToDontDestroyOnLoad();
87
+
88
+ isSpawnedObjectsPendingInDontDestroyOnLoad = true;
89
90
// Switch scene
91
AsyncOperation sceneLoad = SceneManager.LoadSceneAsync(sceneName, LoadSceneMode.Single);
0 commit comments