Search Issue Tracker
By Design
Fixed in 2017.1.X
Votes
2
Found in
2017.1.0f2
Issue ID
932843
Regression
No
[Animation] Reverting an Animator Controller causes different deltaPosition
Steps to reproduce:
1. Open attached project
2. Open scene named "scene"
3. Click on "Aydan" game object
4. On the Controller component set the amount of frames to 100 and the Capture frame to 25
5. Press play
Result: deltaPosition on the first loop is different from all the following loops
Expected result: All loops should be consistent
Reproduced on: 5.6.2f1, 2017.1.0f3, 2017.2.0b3
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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Resolution Note:
The discrepancy is caused by the feet pivot feature of the humanoid, which helps smooth out motion. When doing sharp jumps in poses, the smoothing get in the way.
You can set Animator.feetPivotActive (https://docs.unity3d.com/ScriptReference/Animator-feetPivotActive.html) to 0 to turn off the feet pivot adjustment.
You can either turn it off permanently, or just turn it off before evaluating the capture frame(and turning it on again after).