Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f3
Issue ID
901465
Regression
Yes
CollisionListener2D::ProcessContacts crashes when unparenting game objects and destroying their parent which has Rigidbody2D
CollisionListener2D::ProcessContacts crashes in Play mode when unparenting game objects and destroying their parent which has Rigidbody2D
To reproduce:
1. Download attached project "901465.zip" and open in Unity
2. Press "Play" button
3. Walk on the "Boomer" game object
4. Wait few seconds until "Boomer" game object explodes
Expected result: After "Boomer" game object explodes, "Player(Clone)" game object explodes too.
Actual result: After "Boomer" game object explodes, Unity crashes
Note: If you delete Rigidbody2D from "Player(Clone)" game object, which is created when you press "Play" button and in Scene view put "Boomer" game object on "Player(Clone)" game object, then when "Boomer" game object explodes, no crash occurs (Works on Unity 5.6.0b5 or newer). If you build game on Windows, it also crashes
Reproduced on Unity 5.6.0p2 and 2017.1.0b1
Not reproduced on Unity 5.5.3p1
Regression on Unity 5.6.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment