Search Issue Tracker
By Design
Votes
0
Found in
2018.2.9f1
Issue ID
1085005
Regression
No
Interpolation/Extrapolation of a Rigidbody 2D stops very briefly when changing it's parent with SetParent() method
How to reproduce:
1. Open the user's project.
2. Enter Play Mode.
3. Press "Space"
Expected results: The circle falls smoothly
Actual results: Interpolation stops very briefly (causing a stutter)
Reproducible on: 2017.4.12f1, 2018.1.9f2, 2018.2.10f, 2018.3.0b4, 2019.1.0a2
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- Error "NullReferenceException: Object reference not set to an instance of an object" is present when loading 3D text mesh in Player from an asset bundle that is built with an older Editor version
Resolution Note:
If you explicitly change the position/rotation of a Rigidbody2D or change its parent/hierarchy then interpolation is stopped until the next simulation update. It has to do this, it has no other choice. It cannot continue to move from the old position to the new position. For instance, if you were to reparent it then you wouldn't want it interpolating to that new position, you want it to move to that new position instantly.