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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Add comment