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()

Physics2D

-

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

  1. This is a duplicate of issue #1023737

    Crash FixedSizeAllocator<3584>::alloc while in Play mode

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.