BSG - unity 2018.2.0f2 errors


#1

Hi,

Getting below errors with Unity 2018.2.0f2. Using BSG in new project


(Leslie Young) #2

Follow the setup instructions found here, http://www.plyoung.com/bgs/bgs-setup/


#3

Thks, updated to BGS 0.22 + followed setup instructions, no error message.
But when trying to scan and add namesspaces and classes, getting below error. Blox visual editor then keeping loading

AmbiguousMatchException: Ambiguous match found.
System.DefaultBinder.SelectMethod (System.Reflection.BindingFlags bindingAttr, System.Reflection.MethodBase[] match, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
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 <f826c2584fc94ec19a48a6576640bdc5>:0)
System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
Fasterflect.MethodExtensions.Method (System.Type type, System.Type[] genericTypes, System.String name, System.Type[] parameterTypes, Fasterflect.Flags bindingFlags) (at D:/DevBGS/_source/BGSEngine/Common/Fasterflect/Extensions/Core/MethodExtensions.cs:311)
Fasterflect.MethodExtensions.Method (System.Type type, System.String name, System.Type[] parameterTypes, Fasterflect.Flags bindingFlags) (at D:/DevBGS/_source/BGSEngine/Common/Fasterflect/Extensions/Core/MethodExtensions.cs:277)
BGSEngine.BloxMemberInfo.DecodeMember (System.String data) (at D:/DevBGS/_source/BGSEngine/Blox/BloxMemberInfo.cs:372)
BGSEditor.BloxEd+<BlockDefsLoader>d__48.MoveNext () (at D:/DevBGS/_source/BGSEditor/Blox/BloxEdGUI.cs:1124)
BGSEditor.EdCoroutine.DoUpdate () <0x498e6820 + 0x00062> in <c15e7909614643718ddf62563a5c045e>:0
BGSEditor.BloxEd.DoUpdate () (at D:/DevBGS/_source/BGSEditor/Blox/BloxEd.cs:109)
BGSEditor.BloxEditorWindow.OnGUI () (at D:/DevBGS/_source/BGSEditor/Blox/BloxMainEditor/BloxEditorWindow.cs:2480)
System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <f826c2584fc94ec19a48a6576640bdc5>: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 <f826c2584fc94ec19a48a6576640bdc5>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:261)
UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:390)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, System.Boolean isComputingLayout) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:237)
UnityEngine.Experimental.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:380)
UnityEngine.Experimental.UIElements.IMGUIContainer.DoRepaint (UnityEngine.IStylePainter painter) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:89)
UnityEngine.Experimental.UIElements.Panel.PaintSubTree (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, UnityEngine.Experimental.UIElements.VisualElement+ClippingOptions clippingOption, UnityEngine.Rect currentGlobalClip) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:732)
UnityEngine.Experimental.UIElements.Panel.PaintSubTreeChildren (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, UnityEngine.Experimental.UIElements.VisualElement+ClippingOptions clippingOption, UnityEngine.Rect textureClip) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:748)
UnityEngine.Experimental.UIElements.Panel.PaintSubTree (UnityEngine.Event e, UnityEngine.Experimental.UIElements.VisualElement root, UnityEngine.Matrix4x4 offset, UnityEngine.Experimental.UIElements.VisualElement+ClippingOptions clippingOption, UnityEngine.Rect currentGlobalClip) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:736)
UnityEngine.Experimental.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:778)
UnityEngine.Experimental.UIElements.UIElementsUtility.DoDispatch (UnityEngine.Experimental.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:227)
UnityEngine.Experimental.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:74)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:171)

(Leslie Young) #4

Can you show me which namespaces/classes you’ve selected that might be causing the problem?