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
- Log shader compilation does not give info on which shader instance had a variant compiled
- Label text overflows its rect when resizing the Game view in Free Aspect
- UI Toolkit Slider value defaults to min value when the initial value is set in the UXML file
- The Player hangs when unloading a scene using the UnloadUnusedAssets() method
- [iOS] Too many texture parameters error is thrown when running on devices that support the number of parameters
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.