Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.65f1

6000.3.3f1

6000.4.0b3

6000.5.0a4

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

Core Runtime

-

How to reproduce:

  1. Open the “BugReporting.zip“ project
  2. Open the 'Window → Entities → Hierarchy' window
  3. Create a new ‘File → New Scene → Empty’ Scene
  4. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.