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
Comments (5)
-
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
- Tile Palette grid is moved after entering Play Mode
- Tile Palette Edit mode turns off in Play Mode
- The Editor crashes when Generating Font Atlas in the Font Asset Creator with “9999999999” padding and 256x256 Atlas Resolution
- [iOS] An “ArgumentNullException” error is thrown when GetIntroductoryPriceDictionary() method is called
- Font Import Settings documentation page is missing when the documentation button is pressed in the Inspector window
This is a duplicate of issue #952170