Prevent 'scene changed on disk' popup

Prevent 'scene changed on disk' popup when loading/additive loading.
This commit is contained in:
max 2023-08-10 22:24:10 +02:00
parent 4fe602e932
commit 1b9c367221

View File

@ -129,6 +129,7 @@ private void LoadScenePartitions(SortedSet<ulong> partitionIds)
} }
AssetDatabase.Refresh(); AssetDatabase.Refresh();
EditorSceneManager.OpenScene(scenePath, OpenSceneMode.Single);
} }
} }