Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.3.0a2
2020.1
2020.2
2020.2.0a10
Issue ID
1244381
Regression
Yes
RigidBody loses its constraints when its GameObject is unparented and the parent has specific position values
How to reproduce:
1. Open user-submitted project (ConstraintsBugParent.zip)
2. Enter Play Mode
3. Select the Sphere in Scene View and see its positional gizmos
Expected result: the RigidBody Constraints are applied
Actual result: the RigidBody Constraints are not applied
Reproducible with: 2019.3.0a2, 2019.3.13f1, 2020.1.0b8, 2020.2.0a10
Not reproducible with: 2017.4.40f1, 2018.4.22f1, 2019.3.0a1
Notes:
Changing the PlayerParent transform Z value from 0.81 to 0.8 prevents this issue
Removing the unparenting line in the Movement.cs script(line 155) prevents this issue
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
- Some VFX Window Panels close on entering Play mode
- VFX Graph using Redo action for Move and Connect node results in an unknown input value
- VFX Parameters are missing the documentation links
- Node name gets cut off in the Visual Effect Graph when the name is long
- Custom Particle System names textboxes are not correctly wrapped in the VFX Control panel
Resolution Note:
The rotational DoFs are applied in the mass-space, and looking carefully one might notice that there is non-identity inertia tensor rotation. It's non-zero because the centre of mass is shifted just a little. Setting it back to zero will fix this case.