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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
This is a duplicate of issue #952170