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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Memory is allocated but nothing happens when duplicating Values with the duplication shortcut in the Inspector
- Frame rate becomes lower after turning vertical sync on and off when in the Player on macOS
- Memory Profiler fails to enumerate a specific Heap Segment
- Performance gets worse when updating the Material of Tilemap
- Script causes Console error "Reading pixels out of bounds of the current active render texture" when entering the Play mode on a HDRP project
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a17