Search Issue Tracker
Duplicate
Duplicate in 6000.5.X
Votes
0
Found in
6000.3.3f1
6000.4.0b3
6000.5.0a4
Issue ID
UUM-131488
Regression
No
“InvalidOperationException” errors thrown in the Console window when nesting New Sub Scene GameObjects with Sub Scenes in Hierarchy window and saving it
Steps to reproduce:
1. Create a new project
2. Make sure Use new Hierarchy Window option is enabled (Unity > Settings… > General)
3. Install Entities package
4. Create Two Sub Scenes in the Hierarchy (New Sub Scene > Empty Scene)
5. Select New Sub Scene GameObject
6. Drag it in “New Sub Scene” scene in Hierarchy window
7. Select “New Sub Scene 2” GameObject and drag it to the “New Sub Scene” scene in Hierarchy window
8. Save changes by pressing Command+S
9. Observe Console window
Actual results: Errors are thrown in the Console window:
“[Worker0] InvalidOperationException: Cannot create a new scene additively with an untitled scene unsaved.
UnityEditor.SceneManagement.EditorSceneManager.NewScene (UnityEditor.SceneManagement.NewSceneSetup setup, UnityEditor.SceneManagement.NewSceneMode mode) <0x17fe57cd0 + 0x0004f> in <1ee54be0ec644ade9c054f148c52822e>:0
Unity.Scenes.SubScene.UnloadScene () (at ./Library/PackageCache/com.unity.entities@882760f0ebad/Unity.Scenes/SubScene.cs:414)
Unity.Scenes.SubScene.OnDestroy () (at ./Library/PackageCache/com.unity.entities@882760f0ebad/Unity.Scenes/SubScene.cs:424)
UnityEditor.SceneManagement.EditorSceneManager:CloseScene(Scene, Boolean)
Unity.Scenes.Editor.SubSceneImporter:OnImportAsset(AssetImportContext) (at ./Library/PackageCache/com.unity.entities@882760f0ebad/Unity.Scenes.Editor/SubSceneImporter.cs:204)
UnityEditor.AssetImporters.ScriptedImporter:GenerateAssetData(AssetImportContext) (at /Users/bokken/build/output/unity/unity/Modules/AssetPipelineEditor/Public/ScriptedImporter.cs:25)”
Expected results: No errors are thrown in the Console window
Reproducible with versions: 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Can’t test with versions: 6000.0.65f1 (No new Hierarchy window)
Tested on (OS): macOS Silicon Tahoe 26.0.1 (M1)
-
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.
We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.
Thank you for helping us improve Unity! -
Resolution Note (6000.5.X):
Thank you for reporting a bug to Unity.
We have reviewed the issue and found it is a duplicate of an existing bug already logged in our system. To keep things organized and ensure the issue is properly prioritized, we have linked your report to the original case.
We will now close this report as a duplicate, but the original bug remains open and under review. Your input has been noted and helps us better understand the impact of the issue. If anything changes regarding its severity or impact, please let us know.
Thank you for helping us improve Unity!
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #UUM-117208