Editor crashes when Odin tries to serialize/deserialize ActionCurves

Issue #788 resolved
itay alperovich created an issue

Unity Version: 2019.4

Contact Mail: itay.alperon@gmail.com

Short Description: The editor appears to sometimes crash when serializing AnimationCurve.
Error log stack trace:

Stack Trace of Crashed Thread 3272:
0x00007FF7298711E0 (Unity) AnimationCurve_CUSTOM_GetKeys
0x0000019FD6B8DF33 (UnityEngine.CoreModule) UnityEngine.AnimationCurve.GetKeys()
0x0000019FD6B8DD4B (UnityEngine.CoreModule) UnityEngine.AnimationCurve.get_keys()
0x0000019FFC63836B (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.AnimationCurveAtomHandler.CopyImplementation()
0x0000019FFC637F78 (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.BaseAtomHandler`1.Copy()
0x0000019FFC6371F8 (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.PropertyValueEntry`2.UpdateValues()
0x0000019FD70F2B41 (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.PropertyValueEntry.Update()
0x0000019FD70F2133 (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.InspectorProperty.UpdateValueEntry()
0x0000019FD70F1063 (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.InspectorProperty.Update()
0x0000019FD71482BB (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.InspectorProperty.OnStateUpdate()
0x0000019FD714859B (Sirenix.OdinInspector.Editor) Sirenix.OdinInspector.Editor.InspectorProperty.OnStateUpdate()

Key classes in project:

  • ActionStatsEditor
  • GraphStatModifier

Reproduction:

  1. Create an ActionStatObject through the custom Editor

    1. You can also use the attached assets
  2. Go to inspector

  3. Play
  4. Stop playing
  5. Go to ActionStatsEditor
  6. Crash is expected

Comments (3)

  1. itay alperovich reporter

    Please contact me here or by mail for any further required info/reproduction or other issues you might need my help with.

  2. Log in to comment