Search Issue Tracker
Duplicate
Duplicate in 1.11.X
Votes
0
Found in [Package]
1.11.0
Issue ID
ISXB-1091
Regression
Yes
MissingReferenceException is thrown when destroying UI button that is overlapping other UI elements
Reproduction steps:
1. Open the attached “IN-84901.zip” project
2. Open the “SampleScene”
3. Enter the Play mode
4. Click on the button in the Game view
5. Observe the Console
Expected result: No errors appear in the Console
Actual result: “MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it.” exceptions are spammed in the Console
Reproducible with: 1.11.0 (2021.3.44f1, 2022.3.48f1, 6000.0.21f1)
Not reproducible with: 1.10.0 (2021.3.44f1, 2022.3.48f1, 6000.0.21f1)
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Note:
- Does not reproduce if only the button is on the Canvas
-
Resolution Note:
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1081 -
Resolution Note (1.11.X):
null
Duplicate of https://issuetracker.unity3d.com/product/unity/issues/guid/ISXB-1081
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
This is a duplicate of issue #-1081