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