Search Issue Tracker
Fixed
Votes
0
Found in
2022.2.0b7
2023.1.0a9
Issue ID
UUM-13522
Regression
Yes
Crash on b2ContactManager::Destroy when switching Composite Collider 2D GameObject to a trigger
Reproduction steps:
# Open the attached project “PhysicsExamples2D-master.zip“
# Enter Play mode
# In the Hierarchy window select one of the child objects of “Composites“ GameObject
# In the Inspector window enable "Is Trigger"
Expected result: The Editor does not crash
Actual result: The Editor crashes
Reproducible with: 2022.2.0a13, 2022.2.0b7, 2023.1.0a9
Not reproducible with: 2021.3.9f1, 2022.1.15f1, 2022.2.0a12
Could not test with: 2020.3.39f1 - due to errors in the Console when downgrading the project (The type or namespace name 'CustomCollider2D' could not be found)
Reproduced on: Windows 10 Pro
Note: This project uses the “PhysicsExamples2D” sample ([https://github.com/Unity-Technologies/PhysicsExamples2D|https://github.com/Unity-Technologies/PhysicsExamples2D|smart-link] )
First few lines of the stack trace:
0x00007ff6f03fa615 (Unity) b2ContactManager::Destroy
0x00007ff6f03facf4 (Unity) b2Body::DestroyFixture
0x00007ff6f03b7446 (Unity) Collider2D::Cleanup
0x00007ff6f03bf6bd (Unity) Collider2D::RecreateCollider
0x00007ff6f03b55ff (Unity) Collider2D::AwakeFromLoad
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
- Static Editor Flags dropdown list is cut off when Inspector Window is docked to the very right and UI Scaling is set to a higher value
- visionOS Players are minimized when Guided Access is turned on
- Licensing Client fails to launch when opening Unity Hub
- Sprite Atlas Inspector preview disappears when entering Play mode unless SpriteAtlasMode is set to "Sprite Atlas V2 - Enabled"
- Opening reference for Audio Importer opens missing page
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-12859