Search Issue Tracker

Fixed

Fixed in 6000.5.0a7

Won't Fix in 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'

Hierarchy V2

-

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

  1. Resolution Note:

    Fixed in 6000.5.0a7

  2. Resolution Note (fix version 6000.5.0a7):

    Fixed in 6000.5.0a7

  3. Resolution Note (6000.4.X):

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.