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
- Shadow casters are not rendered when deploying builds in specific Unity 6.0 versions
- Automatically unfocuses when focusing and DropdownField is open
- Debug Draw Mode stops rendering GameObjects when GPU Resident Drawer is enabled
- Only a single Selector is added to a Container when drag and dropping multiple of them on an Element in UI Builder
- Reverting all overrides in a Prefab Variant creates unrevertible changes when the parent GameObject of the Prefab is a Canvas
This is a duplicate of issue #1023737