Search Issue Tracker
Duplicate
Votes
0
Found in
2017.1.0f1
Issue ID
930156
Regression
Yes
AnimationCurve value cannot be changed in custom Inspector when it is accessed as serialized property's animationCurveValue
To reproduce:
1. Open the project, attached by the tester (curveInspector.zip)
2. Open the "scene" scene
3. Select "GameObject" in the Hierarchy
4. In the Inspector, change the animation curve
5. (Optional) Review the TestEditor.cs script
Expected: changes for the animation curve are saved when it is accessed as a serialized property's animationCurveValue and drawn in the Editor via EditorGUILayout.CurveField
Reproduced in 2017.1.0a6, 2017.1.0f1, 2017.1.0f3, 2017.2.0b3
Did not reproduce in 5.6.2p3, 2017.1.0a5
Workaround:
- draw AnimationCurve serialized property via EditorGUILayout.PropertyField
- get the script via target property and then change the value directly with EditorGUILayout.CurveField
Won't fix: This has been introduced by fix for another case and there is no way to fix this unless we revert that
-
Rukas90
Sep 21, 2018 16:30
Have this issue with 2018.2.7f1
-
DreamKnight
Dec 19, 2017 00:20
Fixed in 2017.2.1f1.
-
LazloBonin
Dec 05, 2017 19:13
Still an issue in 2017.2.0f3. What is the workaround? The documentation hasn't been updated at all, and this propery is currently useless.
-
Windresta
Oct 16, 2017 05:59
Reproduced in 2017.2.0f3
-
Windresta
Oct 16, 2017 05:21
Reproduced in 2017.1.1f1
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
- 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
This is a duplicate of issue #952170