+12
Fixed

Unable to use Peek with 2019.3.10

Crystalius 1 month ago updated by Daniel 16 hours ago 12 2 duplicates

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

Ludiq.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)

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.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)

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

Ludiq.AssemblyResourceProvider.LoadTexture (System.String path, Ludiq.CreateTextureOptions options) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.EditorTexture.Load (Ludiq.IResourceProvider resources, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.EditorTexture.Load (System.Collections.Generic.IEnumerable`1[T] resourceProviders, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.PluginResources.LoadIcon (System.String path, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.LanguageIconSet.LoadAccessibility (System.String name, System.Boolean required) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.LanguageIconSet..ctor (System.String name) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.LanguageIconSet.Load (System.String name) (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.Icons+Language.Load () (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.Icons.Load () (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.Icons..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)

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

System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) (at <437ba245d8404784b9fbab9b439ac908>:0)

Ludiq.PluginContainer.Initialize () (at <75479a292f634cecafcc6d9c858e3997>:0)

Ludiq.PluginContainer..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)

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

Ludiq.GraphWindow.OnGUI () (at :0)

System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)

Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.

System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <437ba245d8404784b9fbab9b439ac908>:0)

System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <437ba245d8404784b9fbab9b439ac908>:0)

UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

UnityEditor.HostView.Invoke (System.String methodName) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

UnityEditor.DockArea.OldOnGUI () (at <17b72532ee2c4da1b6f632d3f1705fe0>:0)

UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Boolean straightY, System.Single pixelsPerPoint, System.Exception& immediateException) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

Rethrow as ImmediateModeException

UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection, UnityEngine.UIElements.PanelClearFlags clearFlags) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect viewport, UnityEngine.Matrix4x4 projection) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.Panel.UpdateForRepaint () (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <7be1a95b44f5474c9c1a5c5fd9c86b28>:0)

UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <35bab3c7b0dc4999845bcfccc7758d96>:0)

Unity Version:
2019.3.10
Peek Version:
Newest
GOOD, I'M SATISFIED
Satisfaction mark by Crystalius 1 month ago

Duplicates 2

+2
I am not trying to be mean, i just do not want to work in Unity w/o Peek.
+8

EditorWindow#ShowModal has been changed to public in Unity2019.3.10f1.

https://github.com/Unity-Technologies/UnityCsReference/commit/663537cf3e1ab0689921153854a4f3c608d4163e#diff-6adc2ea19b4396f613bd0b3ae0df21fbL612-R633

I modified it as follows and it worked.

Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/LudiqGUIUtility.cs

before:

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

after:

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

+3

Nothing like feeling SOL after just buying a product after getting pumped up by the videos!

I cant't wait for an update. :)

+4

Hi Crystalius and the rest of the Peek community,

I'm sorry that you are experiencing this issue and thank you for reporting it to us. I am escalating this to our lead developer immediately. We will have a fix for this ASAP. 

Best,

Hasan from Ludiq

+2

I appreciate such a quick response from the Peek team! :D

+1
Fixed

Hi everyone,

Sorry for the delay in updating this. This issue was fixed with Peek v.1.1.8 last week.

Hi Lazlo,

Just installed 2019.3.13f1 and v.1.1.8 and I'm still getting the ShowModal not found errors and other errors too.

Error 1:

MissingMemberException: Member 'UnityEditor.EditorWindow.ShowModal' not found.
Ludiq.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)
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.LudiqGUIUtility..cctor () (at <75479a292f634cecafcc6d9c858e3997>:0)
Rethrow as TypeInitializationException: The type initializer for 'Ludiq.LudiqGUIUtility' threw an exception.
Ludiq.ColorUtility.GetPixel (UnityEngine.Color color) (at <75479a292f634cecafcc6d9c858e3997>:0)
Ludiq.ColorUtility.GetPixel (Ludiq.SkinnedColor skinnedColor) (at <75479a292f634cecafcc6d9c858e3997>:0)
Ludiq.LudiqCoreResources+Icons.Load () (at <75479a292f634cecafcc6d9c858e3997>:0)
Ludiq.LudiqCoreResources.Initialize () (at <75479a292f634cecafcc6d9c858e3997>:0)
Ludiq.PluginContainer.Initialize () (at <75479a292f634cecafcc6d9c858e3997>:0)
Rethrow as Exception: Failed to initialize plugin module 'Ludiq.Core.LudiqCoreResources'.
UnityEngine.Debug:LogException(Exception)
Ludiq.PluginContainer:Initialize()
Ludiq.PluginContainer:.cctor()
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

Error 2:

System.TypeInitializationException: The type initializer for 'Ludiq.Icons' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Ludiq.LudiqGUIUtility' threw an exception. ---> Ludiq.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.LudiqGUIUtility..cctor () [0x005fa] in <75479a292f634cecafcc6d9c858e3997>:0
--- End of inner exception stack trace ---
at Ludiq.LudiqGUIUtility..cctor () [0x006da] in <75479a292f634cecafcc6d9c858e3997>:0
--- End of inner exception stack trace ---
at Ludiq.AssemblyResourceProvider.LoadTexture (System.String path, Ludiq.CreateTextureOptions options) [0x00072] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.EditorTexture.Load (Ludiq.IResourceProvider resources, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) [0x000bf] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.EditorTexture.Load (System.Collections.Generic.IEnumerable`1[T] resourceProviders, System.String path, Ludiq.TextureResolution[] resolutions, Ludiq.CreateTextureOptions options, System.Boolean required) [0x00010] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.PluginResources.LoadIcon (System.String path, System.Boolean required) [0x00006] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.LanguageIconSet.LoadAccessibility (System.String name, System.Boolean required) [0x00029] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.LanguageIconSet..ctor (System.String name) [0x00006] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.LanguageIconSet.Load (System.String name) [0x00000] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.Icons+Language.Load () [0x00000] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.Icons.Load () [0x0000b] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.Icons..cctor () [0x0005e] in <75479a292f634cecafcc6d9c858e3997>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native) System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <437ba245d8404784b9fbab9b439ac908>:0
at Ludiq.PluginContainer.Initialize () [0x006bb] in <75479a292f634cecafcc6d9c858e3997>:0
at Ludiq.PluginContainer..cctor () [0x0000a] in <75479a292f634cecafcc6d9c858e3997>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

Error 3:

Failed to analyze assembly 'UnityEditor.Advertisements, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null':
System.MissingMethodException: void UnityEngine.UnityAPICompatibilityVersionAttribute..ctor(string,string[])
at (wrapper managed-to-native) System.MonoCustomAttrs.IsDefinedInternal(System.Reflection.ICustomAttributeProvider,System.Type)
at System.MonoCustomAttrs.IsDefined (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00027] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Reflection.Assembly.IsDefined (System.Type attributeType, System.Boolean inherit) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Attribute.IsDefined (System.Reflection.Assembly element, System.Type attributeType, System.Boolean inherit) [0x0005c] in <437ba245d8404784b9fbab9b439ac908>:0
at System.Attribute.IsDefined (System.Reflection.Assembly element, System.Type attributeType) [0x00000] in <437ba245d8404784b9fbab9b439ac908>:0
at Ludiq.PeekCore.Codebase.IsEditorAssembly (System.Reflection.Assembly assembly) [0x00001] in E:\Portal\Unity\UnityProjects\Portal\Assets\Ludiq\Ludiq.PeekCore\Editor\Reflection\Codebase.cs:236
at Ludiq.PeekCore.Codebase.IsEditorDependentAssembly (System.Reflection.Assembly assembly) [0x00001] in E:\Portal\Unity\UnityProjects\Portal\Assets\Ludiq\Ludiq.PeekCore\Editor\Reflection\Codebase.cs:254
at Ludiq.PeekCore.Codebase.IsRuntimeAssembly (System.Reflection.Assembly assembly) [0x00001] in E:\Portal\Unity\UnityProjects\Portal\Assets\Ludiq\Ludiq.PeekCore\Editor\Reflection\Codebase.cs:249
at Ludiq.PeekCore.Codebase..cctor () [0x000ba] in E:\Portal\Unity\UnityProjects\Portal\Assets\Ludiq\Ludiq.PeekCore\Editor\Reflection\Codebase.cs:40
UnityEngine.Debug:LogWarning(Object)
Ludiq.PeekCore.Codebase:.cctor() (at Assets/Ludiq/Ludiq.PeekCore/Editor/Reflection/Codebase.cs:107)
Ludiq.PeekCore.PluginContainer:Initialize() (at Assets/Ludiq/Ludiq.PeekCore/Editor/Plugins/PluginContainer.cs:110)
Ludiq.PeekCore.PluginContainer:.cctor() (at Assets/Ludiq/Ludiq.PeekCore/Editor/Plugins/PluginContainer.cs:21)
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadAttributes(Type[])

My errors were related to a bad install. After re-install, it's fine now. Cheers