Search Issue Tracker

Fixed in 2019.2

Votes

1

Found in

2017.3.0a1

2018.3.0a1

2018.3.3f1

2019.1.0a1

2019.2.0a1

Issue ID

1123107

Regression

No

Sampling the position of the GameObject with Update function does not yield the correct position

Animation

-

Steps to reproduce:
1. Open attached project "ConstraintBugReport.zip"
2. Open the "ConstraintBug" scene
3. Press Play

Expected results: Sphere follows "ConstraintBugTimeline" GameObject.
Actual results: Sphere visibly lags behind "ConstraintBugTimeline" GameObject.

Reproduced in: 2017.4.20f1, 2018.3.5f1, 2019.1.0b2, 2019.2.0a4

Comments (1)

  1. 1e792bfb80ad905cd3955295638d40c8?d=mm

    silverbackAlex

    Feb 27, 2019 20:21

    I don't know if it matters, but this title is a bit misleading. This issue pertains specifically to constrained GameObjects , and LateUpdate; not regular GameObjects and Update.

    The inability to sample animated GameObjects in Update is normal; you can sample them in LateUpdate.

    This issue concerns objects bound by the AnimationModule's Constraints - such as ParentConstraint and PositionConstraint. Objects so constraint can't be sampled correctly even in LateUpdate.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.