Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.0.72f1

6000.3.12f1

6000.4.1f1

6000.5.0b2

6000.6.0a2

Issue ID

UUM-138526

Regression

No

Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy

Core Runtime

-

Steps to reproduce:

  1. Create a new Unity project using the Universal 3D template
  2. Install the Entities package (com.unity.entities)
  3. Click and drag the "Global Volume" GameObject into the Project window to create a Prefab
  4. Open the Entities Hierarchy window (Window > Entities > Hierarchy)
  5. Dock the Entities Hierarchy window somewhere visible
  6. Click the right-arrow button in the Entities Hierarchy window to the right of the "Global Volume" to open in context
  7. Click and drag the "Global Volume" Prefab from the Project window into the Entities Hierarchy window
  8. Save (File > Save / command+s)
  9. Observe the Console window

Actual results: "ArgumentException: Cyclic nesting detected" error is thrown

Expected results: Cyclic nesting should not be possible, Hierarchy V1 & V2 windows show a popup notificating the user when step 7 happens

Reproducible with versions: 6000.0.72f1, 6000.3.12f1, 6000.4.1f1, 6000.5.0b2, 6000.6.0a2

Can’t test with versions: 2023.1.0a3 (due to no Entities package)

Tested on (OS): MacOS Silicon Tahoe 26.3

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.