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