Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
4.5.3f1
Issue ID
624973
Regression
No
SampleAnimation doesn't update the position value when a curve only has a single key
To Reproduce:
1. Import the attached packagae 'repro.unitypackage' & and add 'CurveTest' prefab to the scene.
2. Make sure that the curve in 'Test Curve' only contains a single key and that it's value is not 5f.
3. Click 'Evaluate', observe that transforms position was not updated even if the curve in the clip has a key, and returns 5f, when evaluated (using AnimationUtility).
4. Add an additional key, 'gameObject.SampleAnimation' works fine, even if the first key is in the same place and the time argument hasn't been changed.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment