Search Issue Tracker

Fixed in 2020.1

Planned for 2019.3

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.

Comments (5)

  1. 4073711f691e7b5952a438b672ccbc48?d=mm

    patsm00re18

    Sep 30, 2019 12:22

    Merely a smiling visitant here to share the love! http://mobilelegends-pc.com

  2. A276bf4b1fbd81244392f8fdb32f0c31?d=mm

    thomas-savysoda

    Sep 01, 2019 11:03

    This is also preventing us from shipping. Hoping this will be fixed soon.

  3. 9577aa46a9666c262fff4602d196de49?d=mm

    VoodooAssets

    Aug 19, 2019 09:01

    We were also experiencing a similar bug crash with the same stack trace. In our case however, it was in relation to calling AddComponent<RigidBody> on an object with a MeshCollider not marked Convex. This object would then interact with another trigger in the scene and cause a hard crash in both editor and on device.

  4. 35d2da78dad7bd880b4e6c297748025d?d=mm

    koochy_rat

    Aug 09, 2019 08:01

    Thank you for discovering the workaround! I upgraded from 5.6 and was facing this crash.

  5. Ff92ee9a87fa09c67b89dc9f6fb0c258?d=mm

    JacobK

    Jul 01, 2019 23:41

    Game breaking bug for my project :(

    Can't ship an update until this is fixed

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.