- changed status to resolved
Not working in 2017.4.8 with error: InvalidCastException: Cannot cast from source type to destination type.
There is a error in console after import the plugin: InvalidCastException: Cannot cast from source type to destination type. Sirenix.OdinInspector.Editor.CustomEditorUtility.ResetCustomEditors () (at C:/Sirenix/Sirenix Solution/Sirenix.OdinInspector.Editor/Config/EditorOnlyModeConfig.cs:262) Sirenix.OdinInspector.Editor.InspectorConfig.UpdateOdinEditors () (at C:/Sirenix/Sirenix Solution/Sirenix.OdinInspector.Editor/Config/InspectorTypeDrawingConfigDrawer.cs:31) Sirenix.OdinInspector.Editor.InspectorConfig.<UnityEngine.ISerializationCallbackReceiver.OnAfterDeserialize>b__18_0 () (at C:/Sirenix/Sirenix Solution/Sirenix.OdinInspector.Editor/Config/InspectorTypeDrawingConfigDrawer.cs:516) Sirenix.OdinInspector.Editor.UnityEditorEventUtility+<>c__DisplayClass0_0.<DelayAction>b__4 () (at C:/Sirenix/Sirenix Solution/Sirenix.OdinInspector.Editor/Misc/EmittedGradientContainer.cs:25) Sirenix.OdinInspector.Editor.UnityEditorEventUtility+<>c__DisplayClass0_0.<DelayAction>b__2 () UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:127)
and the Inspector not change at all.
Comments (1)
-
- Log in to comment
It looks like you are using a very old version of Odin (1.0.5.3?), and this issue was likely fixed a very long time ago. Please upgrade to the latest version of Odin.
I'm going to mark this issue as resolved, meanwhile - if you still experience it, please comment on this issue again with further details, using the list of questions that is presented to you when you are creating your issue.