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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed in 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
Fixed in 6000.6.0a1