Search Issue Tracker

Fixed

Fixed in 6000.4.9f1, 6000.5.0b9, 6000.6.X

Votes

0

Found in

6000.4.5f1

6000.5.0b6

6000.6.0a4

Issue ID

UUM-140859

Regression

Yes

"ArgumentNullException" is thrown when dragging a selector between greyed-out built-in child elements in UI Builder Hierarchy

UI Builder

-

Steps to reproduce:

  1. Create a new URP project
  2. Create and open a new UI Document
  3. Add a "Scroll View" to the UI Builder Hierarchy (also reproduces with other available lists)
  4. Create a new selector with a new USS file
  5. Expand the "ScrollView" in the Hierarchy so that at least 2 child elements are visible
  6. Drag the created selector between the greyed-out child elements
  7. Observe the Console

Actual results: "ArgumentNullException: Value cannot be null. Parameter name: identifier" error is thrown 

Expected results: No errors are thrown

Reproducible with versions: 6000.4.0a2, 6000.4.5f1, 6000.5.0b6, 6000.6.0a4

Not reproducible with versions: 6000.3.14f1, 6000.4.0a1

Tested on (OS): Ubuntu 24.04, macOS 26.4

Notes:

  • In 6000.4.0a1 and earlier, dragging selector would not show animation line indicating it can be placed inside Hierarchy and therefore, would not throw any errors
  • After reproduction, doing anything in the UI Builder throws "ArgumentNullException: Value cannot be null."
  • Reproduces with controls other than Scroll View that expose greyed-out built-in child elements in the Hierarchy
  1. Resolution Note (fix version 6000.4.9f1):

    Fixed in 6000.4.9f1

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.