Search Issue Tracker

Active

Under Consideration for 6000.3.X, 6000.4.X

Votes

1

Found in

6000.3.2f1

6000.4.0b1

6000.5.0a3

Issue ID

UUM-130235

Regression

No

Instantiated objects do not show in the new Hierarchy when they are instantiated through 'AssetDatabase.LoadAssetAtPath' in a method attributed with 'RuntimeInitializeOnLoadMethod'

-

How to reproduce:

  1. Open the “StaticInstantiateHierarchyBug.zip“ project
  2. Open the “MainMenu“ Scene
  3. Observe the Scene view and the Hierarchy window

Actual result: The Camera Gizmo is seen in the Scene view; however, no GameObject for the Camera is displayed in the Hierarchy window
Expected result: The Camera Gizmo is seen in the Scene view, and a GameObject for the Camera is displayed in the Hierarchy window

Reproducible in: 6000.3.0a2, 6000.3.2f1, 6000.4.0b1, 6000.5.0a3
Could not test in: 6000.0.64f1, 6000.3.0a1 (New Hierarchy window is not featured yet)

Reproduced on: Windows 11 Pro (25H2)
Not reproduced on: No other environment tested

Notes:
- Upon selecting the instantiated Camera in the Scene view, no selection in the Hierarchy is made
- Pinging the object is impossible due to an ongoing UUM-130184 bug
- After renaming the instantiated GameObject in the Inspector, the GameObject becomes visible in the Hierarchy window
- Not reproducible in the old Hierarchy window
- After reproduction, turning off and on the ‘use new Hierarchy window’ option displays the instantiated GameObjects

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.