Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.6f1
2018.2.0b4
Issue ID
1054530
Regression
Yes
Setting transform.localPosition on a rigidbody that is the child of another rigidbody causes desynchronization
How to reproduce:
1. Open the user-submitted project
2. Enter Play Mode, press the Space key and Pause the Play mode
3. Observe the Scene Window and the Console
Expected result: the localPosition on the rigidbody of the child cube is set correctly
Actual result: the localPosition is offset based on the parent's movement rather than the localPosition set
Reproduced in: 2018.3.0a7, 2018.2.2f1, 2018.2.0b4, 2018.1.9f1, 2018.1.6f1
Not Reproducible in: 2018.2.0b3, 2018.1.5f1, 2017.4.8f1, 2017.2.3p3, 2017.1.5f1
Note: Different behaviours observed between versions:
- In the 2018.1.6+ versions the child's collider ceases to update -- it stays in its previous world position until some major state change causes it to reset (like toggling whether the rigidbody is kinematic or not)
- In the 2018.3.0a7 version, the child cube remains frozen even though its position is continuously updated
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
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
This is a duplicate of issue #1059467