Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2018.4.X, 2019.2.X, 2019.3.X

Votes

13

Found in

2018.3.0a6

2018.4.0f1

2019.1.0a1

2019.1.3f1

2019.2.0a1

2019.3.0a1

Issue ID

1155827

Regression

Yes

Crash on PhysicsScene::ProcessTriggerEnterExits when splitting meshes that also exit a Trigger with OnTriggerExit

Physics

-

How to reproduce:
1. Open attached project
2. Open CrashDemo Scene
3. Enter the Play Mode

Reproducible with: 2018.3.0a6, 2018.4.1f1, 2019.1.3f1, 2019.2.0b2, 2019.3.0a3
Not reproducible with: 2017.4.27f1, 2018.3.0a5

Actual results: crash

Fixed in: 2020.1.0a7

WORKAROUND: The crash happens if a MeshCollider that is currently overlapping with another collider, gets its mesh set to null and then destroyed. Don't reset the sharedMesh to null before destroying meshes that are in the state of overlapping with other objects.

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.