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
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
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.