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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment