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
- Crash on ConvertBufferToEXRBuffer when Lighting Generation is cancelled
- [URP] TrailEffect in URP package samples does not draw Trail Effect
- "NullReferenceException" error is thrown when calling UIDocument.runtimePanel in OnEnable with ExecuteInEditMode
- Graphics.Blit() performs the operation only to the last display when a multi-display environment is used
- [Windows] Multiple Separation Lines are present in the Light Create Menu
This is a duplicate of issue #952170