Search Issue Tracker
Active
Under Consideration for 6000.4.X
Votes
0
Found in
6000.0.65f1
6000.3.3f1
6000.4.0b3
Issue ID
UUM-131699
Regression
No
InvalidOperationException is spammed in the Console when a GameObject is moved to the active scene by 'SceneManager.MoveGameObjectToScene', and a child GameObject is created
How to reproduce:
- Open the “BugReporting.zip“ project
- Open the 'Window → Entities → Hierarchy' window
- Create a new ‘File → New Scene → Empty’ Scene
- Observe the Console
Actual result: “InvalidOperationException: The specified HierarchyNodeHandle(Kind:GameObject, Index:-17318, Version:0) does not exist in the hierarchy.“ is spammed in the Console
Expected result: Nothing is logged in the Console
Reproducible in: 2023.2.0a11, 6000.0.65f1, 6000.3.3f1, 6000.4.0b3, 6000.5.0a4
Could not test in: 2023.1.0a1 - 2023.1.0a26 (Editor is unusably slow on this project)
Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested
Notes:
- The code needed for reproduction can be seen in the “BrokenHierarchySystem.cs“ file
- The Entities Hierarchy window has to be open for this to reproduce
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
- Inconsistent “Favorites” icon highlight in Unity Hub
- "Could not connect project. Try again" Hub error is not informative/does not inform the user with the reason why it failed when connecting a project to cloud with a name that's too long
Add comment