Search Issue Tracker

Fixed

Fixed in 6000.0.12f1, 7000.0.0a3

Votes

0

Found in

6000.0.4f1

7000.0.0a1

Issue ID

UUM-72789

Regression

No

NullReferenceException is thrown when overriding the UxmlObjectReferences in template instances

--

-

How to reproduce:
1. Open the user-attached project “UxmlObjectReferences_override”
2. Open the “Doc” Asset in the Project window
3. In the UI Builder Hierarchy expand the “TemplateContainer” Template Instance
4. Open the “EditMe” Element in the UI Builder Inspector
5. Under the “Attributes” section, click “Add”
6. Observe the Console

Expected results: There are no errors thrown
Actual results: “NullReferenceException” error is thrown into the Console

Reproducible with: 6000.0.4f1
Can’t test with: 2021.3.38f1, 2022.3.31f1 (Script can’t be loaded)

Reproducible on: Windows 11 Pro, macOS 14.4.1 (user’s)
Not reproducible on: No other environment 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.