Search Issue Tracker

Fixed

Fixed in 6000.0.6f1, 7000.0.0a2

Votes

0

Found in

6000.0.1f1

7000.0.0a1

Issue ID

UUM-71735

Regression

No

InvalidOperationException is thrown and list elements can't be added when a UxmlObject in a list has no attributes

--

-

Reproduction steps:
1. Open the attached project
2. Double-click the "Doc" asset from the Project window to open it in the UI Builder window
3. In the StyleSheets Hierarchy section of the UI Builder window, expand Doc.uxml and select Element
4. In the Attributes Inspector section of the UI Builder Window, expand List
5. Using the "+" icon, try to add elements to the list
6. Observe the results

Expected result: Items are added to the list
Actual result: No items are added and the Console window displays an InvalidOperationException error message

Reproducible with: 6000.0.1f1
Couldn't test with: 2021.3.38f1, 2022.3.28f1 (UXMLObject attribute does not exist)

Reproducible on: Windows 11 Pro
Not reproducible on: No other environments tested

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.