Search Issue Tracker

Fixed in 2021.2.X

Votes

0

Found in

2019.3.0a9

2019.4

2020.3

2021.1

2021.2

2021.2.0a11

Issue ID

1325575

Regression

Yes

Crash in physx::NpShape::updateSQ when setting lots of colliders under a RigidBody parent

Physics

-

How to reproduce:
1. Open attached project (PhysicsCrashMini.zip)
2. Open the 2019 or 2020 scenes(depending on version being used)
3. Enter Play Mode
4. Press 'Space' to generate foliage and switch to Scene View
5. In hierarchy select 'Island' GameObject and wait a few seconds

Expected result: no crashes occur
Actual result: Editor crashes

Reproducible with: 2019.3.0a9, 2019.4.23f1, 2020.3.3f1, 2021.1.2f1, 2021.2.0a11
Not reproducible with: 2018.4.32f1, 2019.3.0a8

Notes:
Before the regression, the Editor would start throwing errors "Could not create shape for collider. Maybe you are attaching too many shapes to rigidbody?" instead of crashing

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a17

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.