Search Issue Tracker
Duplicate
Votes
6
Found in
2018.1.6f1
2018.2.0b4
2018.2.0f2
Issue ID
1063970
Regression
Yes
Moving a RigidBody with Transform.Position causes its Kinematic Child Object to be misplaced after the movement
How to reproduce:
1. Open user-submitted project (Rigid Test)
2. Enter Play Mode
3. Check the 'Button Start' checkbox in the 'Cube' GameObject's 'RigidMove' Script Component
Expected result: after the movement is finished the Cube and its child Capsule are both at the same position
Actual result: after the movement is finished the Capsule is in a different position than the Cube
Reproducible with: 2018.1.6f1, 2018.1.9f1, 2018.2.0b4, 2018.2.2f1, 2018.3.0a6
Not reproducible with: 2017.1.5f1, 2017.2.3p2, 2017.4.8f1, 2018.1.5f1, 2018.2.0b3
Notes:
Using Rigidbody.position or Rigidbody.MovePosition instead of Transform.Position to move the cube does not cause this issue
Comments (1)
-
Marcos-Elias
Aug 02, 2018 04:26
This is happening for me, sometimes it's hard upgrading to a "stable" version of Unity... I was with beta 11 of 2018.1, after upgraded to 2018.2 with latest patches, I got this surprise.
I move a vehicle with smaller kinematic rigidbodies inside (clickable buttons). After the user reposition the vehicle in another place (by dropping it from some height) all the buttons stays out of the original place. I'll be replacing transform.position with rigidbody.position instead.
I'm happy to see that this is an identified bug, but since it is also from 2018.1, it may get longer to get fixed... This brakes many games.
//edit: it worked with rb.position, thanks a lot for mentioning that!
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
This is a duplicate of issue #1059467