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 )
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-12859