0
Fixed

Show Modal Errors in 2019.4.1f1

Xefier Games 3 weeks ago updated by Lazlo Bonin (Lead Developer) 3 weeks ago 4

ERROR

MissingMemberException: Member 'UnityEditor.EditorWindow.ShowModal' not found.

Ludiq.PeekCore.LudiqGUIUtility..cctor () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/LudiqGUIUtility.cs:138)

Rethrow as UnityEditorInternalException: An error occured while accessing internal Unity Editor functions. This might happen if Unity makes backward-incompatible changes in their newer versions of the editor.

Ludiq.PeekCore.LudiqGUIUtility..cctor () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/LudiqGUIUtility.cs:173)

Rethrow as TypeInitializationException: The type initializer for 'Ludiq.PeekCore.LudiqGUIUtility' threw an exception.

Ludiq.Peek.Probe.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/Ludiq/Ludiq.Peek/Editor/Probe/Probe.cs:709)

UnityEngine.Debug:LogException(Exception)

Ludiq.Peek.Probe:OnSceneGUI(SceneView) (at Assets/Ludiq/Ludiq.Peek/Editor/Probe/Probe.cs:772)

Ludiq.Peek.SceneViewIntegration:OnSceneGUI(SceneView) (at Assets/Ludiq/Ludiq.Peek/Editor/Integration/SceneViewIntegration.cs:41)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)


WARNING

Failed to determine if hierarchy window was focused:
System.TypeInitializationException: The type initializer for 'Ludiq.PeekCore.LudiqGUIUtility' threw an exception. ---> Ludiq.PeekCore.UnityEditorInternalException: An error occured while accessing internal Unity Editor functions. This might happen if Unity makes backward-incompatible changes in their newer versions of the editor. ---> System.MissingMemberException: Member 'UnityEditor.EditorWindow.ShowModal' not found.
at Ludiq.PeekCore.LudiqGUIUtility..cctor () [0x00648] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.PeekCore\Editor\Interface\LudiqGUIUtility.cs:138
--- End of inner exception stack trace ---
at Ludiq.PeekCore.LudiqGUIUtility..cctor () [0x007a2] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.PeekCore\Editor\Interface\LudiqGUIUtility.cs:173
--- End of inner exception stack trace ---
at Ludiq.Peek.ProjectToolbars.OnProjectItemGUI (System.String guid, UnityEngine.Rect position) [0x000a1] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.Peek\Editor\Toolbars\Integrations\ProjectToolbars.cs:58
UnityEngine.Debug:LogWarning(Object)
Ludiq.Peek.ProjectToolbars:OnProjectItemGUI(String, Rect) (at Assets/Ludiq/Ludiq.Peek/Editor/Toolbars/Integrations/ProjectToolbars.cs:62)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
System.TypeInitializationException: The type initializer for 'Ludiq.PeekCore.LudiqGUIUtility' threw an exception. ---> Ludiq.PeekCore.UnityEditorInternalException: An error occured while accessing internal Unity Editor functions. This might happen if Unity makes backward-incompatible changes in their newer versions of the editor. ---> System.MissingMemberException: Member 'UnityEditor.EditorWindow.ShowModal' not found.
at Ludiq.PeekCore.LudiqGUIUtility..cctor () [0x00648] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.PeekCore\Editor\Interface\LudiqGUIUtility.cs:138
--- End of inner exception stack trace ---
at Ludiq.PeekCore.LudiqGUIUtility..cctor () [0x007a2] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.PeekCore\Editor\Interface\LudiqGUIUtility.cs:173
--- End of inner exception stack trace ---
at Ludiq.Peek.ProjectToolbars.OnProjectItemGUI (System.String guid, UnityEngine.Rect position) [0x000a1] in C:\Dev\RPG\trunk\RPG\RPG\Assets\Ludiq\Ludiq.Peek\Editor\Toolbars\Integrations\ProjectToolbars.cs:58
UnityEngine.Debug:LogWarning(Object)
Ludiq.Peek.ProjectToolbars:OnProjectItemGUI(String, Rect) (at Assets/Ludiq/Ludiq.Peek/Editor/Toolbars/Integrations/ProjectToolbars.cs:62)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Unity Version:
2019.4.1f1
Peek Version:
1.1.8
GOOD, I'M SATISFIED
Satisfaction mark by Xefier Games 3 weeks ago

LudiqGUIUtility.cs

EditorWindow_ShowModal = typeof(EditorWindow).GetMethod("ShowModal", BindingFlags.Instance | BindingFlags.NonPublic);

2019.4+? (TODO: Determine which version of Unity changed this)

EditorWindow_ShowModal = typeof(EditorWindow).GetMethod("ShowModal", BindingFlags.Instance | BindingFlags.Public);

Need More Information

Hi Xefier Games,

Sorry about this issue and thank you for submitting a report.

I must ask, are you certain you are on Peek v.1.1.8? (Tools > Peek > About)

Because this error was already fixed in v.1.1.7 and I just tested on Unity 2019.4.1f1 and I cannot reproduce it.

OH, my bad. It didn't say "Update" on Unity Asset Store so I assumed incorrectly that I had the latest version.

I forgot I had updated it already for a different project...

You can mark this as resolve or delete if you want.

Fixed

Glad you got it resolved, cheers!