Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.4, 2020.1

Votes

0

Found in

2019.1.0a3

2019.3.4f1

2019.4

2020.1

2020.2

Issue ID

1231211

Regression

Yes

Crash on Collider2D::Cleanup when changing Scene and disabling a GameObject at the same time

Physics2D

-

How to reproduce:
1. Open attached Project "Case_1231211" and load Scene "CrashReproduction"
2. Enter Play Mode
3. In Game View start quickly clicking the Button in the Scene

Reproducible with: 2019.1.0a3, 2019.4.3f1, 2020.1.0b15, 2020.2.0a17
Not reproducible with: 2018.4.24f1

First lines of the stack trace:
0x00007ff7ba860452 (Unity) Collider2D::Cleanup
0x00007ff7ba862670 (Unity) Collider2D::Deactivate
0x00007ff7b929b5a8 (Unity) GameObject::ActivateAwakeRecursivelyInternal
0x00007ff7b929b189 (Unity) GameObject::ActivateAwakeRecursively
0x00007ff7b929e019 (Unity) GameObject::Deactivate

Note: Most often crashes upon first pressing the button, however, sometimes requires more than one click

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.