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
- Variant Family window UI issues when Prefab title is long
- Player crash when switching focus in Exclusive Fullscreen mode with DirectX 12
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
This is a duplicate of issue #UUM-115255