Search Issue Tracker
Duplicate
Votes
0
Found in
6000.2.3f1
6000.3.0b1
6000.4.0a1
Issue ID
UUM-117291
Regression
Yes
MissingReferenceException when entering Play mode while UI Document selected in Hierarchy and Inspector window is locked
How to reproduce:
1. Open the attached project “IN-114113”
2. In the Hierarchy window, select “UIDocument“
3. Lock the Inspector window on “UIDocument”
4. Enter Play mode
5. Observe the result
Alternatively:
1. Open the attached project “IN-114113”
2. Open a second Inspector window
3. In the Hierarchy window, select “UIDocument“
4. Enter Play mode
5. Exit Play mode
6. Observe the result
Expected result: No error messages in the Console window
Actual result: Several error messages in the Console window
Reproducible with: 6000.2.1f1, 6000.2.3f1, 6000.3.0a5(f9a1fab5607a), 6000.3.0b1
Not reproducible with: 6000.0.57f1, 6000.2.0f1(eed1c594c913), 6000.3.0a4
Reproduced on: macOS 15.6 (M1)
Not reproduced on: No other environment tested
Note: Error Message: MissingReferenceException: The object of type 'UnityEngine.UIElements.UIDocument' has been destroyed but you are still trying to access it.
-
Resolution Note:
While this is not the same problem as mentioned in the case it duplicates, it's the same cause and that other bug has been fixed and ported already, making this present bug not reproducible on any of the latest releases.
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-115255
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
- Terms of Service agreement checkbox is invisible under specific OS system themes (UI Accessibility)
- Tile Palette: "Create New Tilemap" dropdown area is displayed in several colors
- Input.mousePosition stops syncing to touch input when using "DownloadHandlerTexture" in WebGL build
- UI Builder canvas doesn't update element styling accordingly when changing Active Theme for some Editor Authoring elements
- Selector Value buttons are not aligned with parameters in UI Builder
This is a duplicate of issue #UUM-115255