0
Fixed

AmbiguousMatchException When Opening/Closing Inspector Window

chambino 11 months ago updated by Lazlo Bonin (Lead Developer) 11 months ago 3

I get the following error when I open or close the Setup Wizard... Window and when I click next button in setup wizard

AmbiguousMatchException: Ambiguous match found.
System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at <7ba07f088431485bb722f3b3373e87ee>:0)
System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) (at <7ba07f088431485bb722f3b3373e87ee>:0)
Ludiq.PeekCore.EditorUnityObjectUtility..cctor () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/EditorUnityObjectUtility.cs:36)
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.EditorUnityObjectUtility..cctor () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/EditorUnityObjectUtility.cs:46)
Rethrow as TypeInitializationException: The type initializer for 'Ludiq.PeekCore.EditorUnityObjectUtility' threw an exception.
Ludiq.PeekCore.AnnotationUtility.GetAnnotation (System.Type type) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Utilities/AnnotationUtility.cs:106)
Ludiq.PeekCore.AnnotationDisabler.DisableGizmos () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Interface/Annotations/AnnotationDisabler.cs:15)
Ludiq.PeekCore.SetupCompletePage.OnShow () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/SetupWizard/SetupCompletePage.cs:66)
Ludiq.PeekCore.Page.Show () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Page.cs:64)
Ludiq.PeekCore.Wizard.set_currentPage (Ludiq.PeekCore.Page value) (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Wizard.cs:33)
Ludiq.PeekCore.Wizard+<>c__DisplayClass20_0.<initialize>b__0 () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Wizard.cs:55)
Ludiq.PeekCore.Page.CompleteSwitch () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Page.cs:38)
Ludiq.PeekCore.Wizard.Update () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Wizard.cs:91)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <7ba07f088431485bb722f3b3373e87ee>: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 <7ba07f088431485bb722f3b3373e87ee>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <7ba07f088431485bb722f3b3373e87ee>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:342)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:336)
UnityEditor.HostView.SendUpdate () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:442)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)
</initialize>

Also get this when I open the project

NullReferenceException: Object reference not set to an instance of an object
Ludiq.PeekCore.Wizard.OnDisable () (at Assets/Ludiq/Ludiq.PeekCore/Editor/Windows/Wizard.cs:81)

Unity Version:
2018.4.10f1
Peek Version:
1.1.5
GOOD, I'M SATISFIED
Satisfaction mark by chambino 11 months ago
Pending Review

Hi Chambino,

Thanks for the report, I'll look into this.

Fixed (Unreleased)

Hi Chambino,

This will be fixed in v.1.1.6.