Search Issue Tracker
By Design
Votes
0
Found in
2020.2.7f1
2020.3
2021.1
2021.2
Issue ID
1322357
Regression
No
ArticulationBody crashes when instantiating an object from the scene and reparenting it
Reproduction steps:
1. Open the user's attached project and Scenes/John scene
2. In the Hierarchy window, select BadRope
3. In the Inspector, right-click on the Chain component and select Build Rope
Expected result: Project doesn't crash
Actual result: Project crashes
Reproducible with: 2020.3.1f1, 2021.1.0f1, 2021.2.0a10
Not reproducible with: 2018.4.32f1, 2019.4.22f1 (could not downgrade)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
First off, the maximum amount of ArticulationBody components in an articulation can be 64 maximum, per the current physics engine restriction. It's advised to connect articulations with regular joints should the need for longer chains arise.
Secondly, it appears that in this particular project the whole current hierarchy is being cloned at each iteration. This scales as O(2^N), resulting in well over a million ArticulationBodies created in a hierarchy.