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
- The Up, Down and other Buttons in a Style Sheet's Inspector unselect items when they are clicked while they are disabled
- Virtual Player remains active and still launches when removed from Additional Editor Instances from a custom Play Mode Scenario
- UI Toolkit Editor Window Creator becomes not interactable and greyed out when a long name is entered
- [Web][iOS] Web Player keeps restarting on launch when Native C/C++ Multithreading is enabled
- "Add Scene to Scenes in Build" pop-up reappears after Scene has already been added and another Multiplayer Editor Instance is loaded
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.