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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #1023737