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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a17