Jump to content
nhaskins

PolyBrush + Probuilder 2017.1.0f1 AmbiguousMatchException issue

Recommended Posts

Hi so the issue is that when I try to use PolyBrush on a ProBuilder generated plane or cube, I get spammed with the following AmbiguousMatchException issue.

.. and it doesn't allow me to do the edits. I get spammed with this error in the editor while the ProBuilder object is selected.

I am able to use PolyBrush to edit other objects in the same scene. It seems to have the issue with just the ProBuilder objects.

 

What do you think? Thanks!

 

Error Log:

AmbiguousMatchException: Ambiguous matching in method resolution
System.Reflection.Binder.FindMostDerivedMatch (System.Reflection.MethodBase[] match) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Binder.cs:106)
System.MonoType.GetMethodImpl (System.String name, BindingFlags bindingAttr, System.Reflection.Binder binder, CallingConventions callConvention, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/MonoType.cs:245)
System.Type.GetMethod (System.String name, BindingFlags bindingAttr) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Type.cs:787)
Polybrush.z_ReflectionUtil.Invoke (System.Object target, System.Type type, System.String method, System.Type[] methodParams, BindingFlags flags, System.Object[] args) (at Assets/ProCore/Polybrush/Code/Editor/Classes/z_ReflectionUtil.cs:164)
Polybrush.z_ReflectionUtil.Invoke (System.Object target, System.String method, BindingFlags flags, System.Object[] args) (at Assets/ProCore/Polybrush/Code/Editor/Classes/z_ReflectionUtil.cs:131)
Polybrush.z_EditableObject..ctor (UnityEngine.GameObject go) (at Assets/ProCore/Polybrush/Code/Editor/Classes/z_EditableObject.cs:254)
Polybrush.z_EditableObject.Create (UnityEngine.GameObject go) (at Assets/ProCore/Polybrush/Code/Editor/Classes/z_EditableObject.cs:183)
Polybrush.z_Editor.GetBrushTarget (UnityEngine.GameObject go) (at Assets/ProCore/Polybrush/Code/Editor/Interface/z_Editor.cs:637)
Polybrush.z_Editor.UpdateBrush (Vector2 mousePosition, Boolean isDrag) (at Assets/ProCore/Polybrush/Code/Editor/Interface/z_Editor.cs:712)
Polybrush.z_Editor.OnSceneGUI (UnityEditor.SceneView sceneView) (at Assets/ProCore/Polybrush/Code/Editor/Interface/z_Editor.cs:586)
UnityEditor.SceneView.CallOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2405)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1723)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1555)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:272)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:265)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:232)
 

polybrush-probuilder-issue.jpg

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×