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
- Warning of an unknown Script missing is logged when selecting VFX in Play Mode
- Vertical and horizontal scrollbars appear and disappear when dragging an attribute to a different position within the Shader Graph Hierarchy
- AudioSource.PlayDelayed() does not work with Audio Random Containers
- Compatible with the VFX Graph Shader Graph can't be dragged and dropped into the "Output" block from the Project window
- [Silicon] Freeze/crash on BrotliDecoderDecompressStream when using System.IO.Compression.BrotliDecoder.TryDecompress
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.