Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.0b12
2018.1.0b13
Issue ID
1025511
Regression
Yes
Editor crashes at PhysicsManager2D::ConvertCollision2DToScripting when many 2D objects call OnCollisionStay2D()
How to reproduce:
1. Download attached project "case_1025511crash"
2. Play the scene
Expected result: Unity does not crash
Actual result: Unity crashes
Reproduces with: 2018.1.0b12, 2018.1.0f1, 2018.2.0b2
Does not reproduce with: 2017.1.3p3, 2017.2.2p3, 2017.4.1f1, 2018.1.0b11
Notes: if DamageWhenContact.cs script which contains OnCollisionStay2D() method is removed from all the "Ant" objects then the crash does not reproduce.
Start of stack trace:
0x0000000141B28934 (Unity) FixedSizeAllocator<3584>::alloc
0x0000000141B1460A (Unity) PhysicsManager2D::ConvertCollision2DToScripting
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
This is a duplicate of issue #1023737