We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c62192 commit 690e327Copy full SHA for 690e327
1 file changed
Assets/Editor Toolbox/Runtime/Serialization/SceneSerializationUtility.cs
@@ -43,6 +43,11 @@ private static void RefreshCache()
43
var buildIndex = -1;
44
foreach (var scene in EditorBuildSettings.scenes)
45
{
46
+ if (string.IsNullOrEmpty(scene.path))
47
+ {
48
+ continue;
49
+ }
50
+
51
buildIndex++;
52
var sceneIndex = scene.enabled ? buildIndex : InvalidSceneIndex;
53
var sceneAsset = EditorGUIUtility.Load(scene.path) as SceneAsset;
0 commit comments