Search Issue Tracker
Fixed
Fixed in 6000.3.11f1, 6000.4.0b11, 6000.5.0a8, 6000.6.0a1
Votes
0
Found in
6000.3.9f1
6000.4.0b9
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134276
Regression
No
"MissingReferenceException" and "GUI Error" errors thrown when deleting a Sprite with "Box Collider 2D" and "Hinge Joint 2D" Components
Steps to reproduce:
- Create a new project using Universal 2D project
- In the Hierarchy, right-click and select 2D Object > Sprites > Square
- Select the created Square
- In the Inspector, add "Box Collider 2D" and "Hinge Joint 2D" Components
- In the "Hinge Joint 2D" Component, enable "Use Limits" property
- Click on the button text to "Edit Angular Limits"
- Move the gizmo handle in the Scene view
- Delete the Square GameObject from the Hierarchy
Actual results: "MissingReferenceException: The object of type 'UnityEngine.HingeJoint2D' has been destroyed but you are still trying to access it." and "GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced." errors
Expected results: no errors
Reproducible with versions: 6000.0.67f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Tested on (OS): Windows 11
Notes:
- Sometimes it can be hard to reproduce and Angular Limits have to be edited few times to reproduce
- Only reproduced when Box Collider 2D Component was above Rigidbody 2D and Hinge Joint 2D
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
- Memory leak warnings are thrown when a GameObject has an Audio Source with ARC and Rigidbody components
- The element selection window is empty until anything is typed into the search bar when adding an element in the Strip Custom Comonents list in Multiplayer Roles
- References to files from another project are not released when loading a Layout with a Locked Project window
- “InvalidOperationException” and “NullReferenceException” errors are thrown when clicking inside a Tile Palette with the Tile Palette overlay and Tile Palette Edit enabled
- Text input fields not working when using Android with Bluetooth Keyboard
Resolution Note:
PR merged to 6000.6.0a1
Resolution Note (fix version 6000.6.0a1):
PR merged to 6000.6.0a1
Resolution Note (fix version 6000.5.0a8):
Fixed in 6000.5.0a8
Resolution Note (fix version 6000.4.0b11):
Fixed in 6000.4.0b11
Resolution Note (fix version 6000.3.11f1):
Fixed in 6000.3.11f1