Search Issue Tracker
Fixed
Fixed in 6000.6.0a1
Under Consideration for 6000.4.X, 6000.5.X, 6000.6.X
Votes
1
Found in
6000.4.0b4
6000.5.0a4
6000.6.0a1
Issue ID
UUM-132198
Regression
No
"MissingReferenceException" is thrown when creating a new UI Document Source Asset from the Preset window
Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Right-click in Hierarchy > UI Toolkit > UI Document
- In the Inspector, in UI Document Component, click on the preset icon (the sliders)
- In the Preset window, click "Create New UI Document Preset..." and Save it
- From the Project window, select the newly created preset
- In the UI Document Component, click "New" to create a Source Asset
- Observe the Console and the preset
Actual results: "MissingReferenceException: The object of type 'UnityEngine.UIElements.UIDocument' has been destroyed but you are still trying to access it." is thrown, and the created asset is not assigned
Expected results: no errors and the created asset is assigned to the "Source Asset" property
Reproducible with versions: 6000.4.0a2, 6000.4.0b4, 6000.5.0a4
Couldn't test with versions: 6000.0.65f1, 6000.3.4f1, 6000.4.0a1 (the "New" button does not exist)
Tested on (OS): Windows 11
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1