Quantcast
Channel: Questions in topic: "dll"
Viewing all articles
Browse latest Browse all 706

InControl does not work as a managed DLL.

$
0
0
I am trying to get InControl ( https://www.assetstore.unity3d.com/en/#!/content/14695 ) to work in a manged DLL. I have taken out all .cs files and tried it normally in the asset folder and it works. But if a but it in a dll i get the following errors: "Loading script assembly "Assets/Libraries/InControl.dll" failed!" "ReflectionTypeLoadException: The classes in the module cannot be loaded. System.Reflection.Assembly.GetTypes () (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/Assembly.cs:371) UnityEditor.Events.InterceptedEventsPreview.GetEventsInfo (UnityEngine.GameObject gameObject) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEditor.UI/UI/InterceptedEventsPreview.cs:162) UnityEditor.Events.InterceptedEventsPreview.Initialize (UnityEngine.Object[] targets) (at C:/buildslave/unity/build/Extensions/guisystem/UnityEditor.UI/UI/InterceptedEventsPreview.cs:61) UnityEditor.InspectorWindow.GetPreviewsForType (UnityEditor.Editor editor) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:304) UnityEditor.InspectorWindow.CreatePreviewables () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:272) UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:334) 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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)" I have no idea what to look for. Any ideas?

Viewing all articles
Browse latest Browse all 706

Trending Articles