Hi,
I’ve been trying to debug why any changes to the GUISystem editor extension do not work.
Simply copying the unmodified GUISystem folder out of the unity directory and then back in creates these errors forever until a reinstall. This is without any modifications to the content in that folder…
InitializeUnityExtensions: Must have a valid path for the plugin [18]
Extension was not registered, that means it relies on default UnityExtensions settings, please register extension and apply necessary settings for it in the callback.
InitializeUnityExtensions: Must have a valid path for the plugin [21]
Cloning your GIT repository and building with unmodified code (using .net 3.5) and then copying the output into the GUISystem directory in unity causes other .dll files to stop working
I get these errors in my other .dll files once updating the GUISystem with unmodified code:
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
BehaviorDesigner.Editor.TaskList.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.OnEnable ()
UnityEditor.EditorWindow:GetWindow(Boolean, String)
BehaviorDesigner.Editor.BehaviorDesignerWindow:ShowWindow()
ReflectionTypeLoadException:The classes in the module cannot be loaded.
UnityEditor.EditorWindow:GetWindow(Boolean, String)
BehaviorDesigner.Editor.BehaviorDesignerWindow:ShowWindow()
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
BehaviorDesigner.Editor.TaskList.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.OnFocus ()
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:249)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:242)
UnityEditor.HostView.OnFocus () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:90)
UnityEditor.EditorWindow:GetWindow(Boolean, String)
BehaviorDesigner.Editor.BehaviorDesignerWindow:ShowWindow()
ReflectionTypeLoadException: The classes in the module cannot be loaded.
System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/Assembly.cs:371)
BehaviorDesigner.Editor.TaskList.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.Init ()
BehaviorDesigner.Editor.BehaviorDesignerWindow.ShowWindow ()
Our project needs the GUI extension and other .dll files so we are 100% dead in the water. Any help would be appreciated.
Thanks.