Search Issue Tracker
By Design
Votes
0
Found in
2021.3.35f1
2022.3.20f1
2023.2.10f1
2023.3.0b7
Issue ID
UUM-63818
Regression
No
Animation window values are not automatically updated when they are changed in a script
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scenes/SampleScene“ Scene
3. Open the “Assets/Clip” Animation clip with the Animation window
4. Lock the Animation window by clicking the Lock button
5. In the Hierarchy window, select the “AnimationEditor“ GameObject
6. In the Inspect window, open the context menu of the “Animation Editor (Script)” Component and select “Execute”
7. In the Animation window, observe the Animation clip Position.x value
8. Select Curves mode and observe the Animation clip Position.x value again
Expected result: The Position.x value is updated as soon as the script is executed, so the values in steps 7 and 8 are the same
Actual result: The value only gets updated after switching the timeline view mode
Reproducible with: 2021.3.35f1, 2022.3.20f1, 2023.2.10f1, 2023.3.0b7
Reproducible on: Windows 11
Not reproducible on: No other environment tested
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
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Resolution Note:
For editing animation clip curves in the editor, it is recommended to use the functions provided in the `AnimationUtility` class. Specifically, the `SetEditorCurve` function will correctly synchronize the curves in the Animation window with any updated curve values. The extension functions available in `AnimationClip` are mostly available to support workflows for legacy clips and therefore will not always fully support the current animation clip editor workflows.