Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
Issue ID
850424
Regression
No
[AW] Should not be able to edit Samples on read-only clip in AW
You can presently edit the Samples on a read-only clip in the Animation Window. This should not be possible, since the clip asset is not editable and the edit will be lost.
repro:
-Add attached BallAnim.fbx or any fbx asset with animation
-Drag Ball asset into scene
-Drag animation clip from within asset onto Ball GO
-Open Animation Window
-Scrub timeline to activate clip
-Change the Samples to 12 (or any other sample rate)...
Bug: Clip is resampled & error is thrown...
Curve is not editable and shouldn't be saved.
UnityEngine.Debug:LogError(Object)
UnityEditorInternal.AnimationWindowState:SaveCurve(AnimationWindowCurve) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:375)
UnityEditorInternal.AnimationWindowState:set_clipFrameRate(Single) (at /Users/builduser/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:1129)
UnityEditor.DockArea:OnGUI()
Expected result: Clip should not be resampled since it is a read-only clip.
This is not a regression, but error is only present since 5.4
Before 5.4, the same problem occurs, but there is no error message.
This is repro in all versions including 5.6.0a3, 5.4.3f1, 5.3.7f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment