DLL errors
InvalidProgramException: Invalid IL code in ***:.cctor (): IL_001b: stsfld 0x040002d8 Rethrow as TypeInitializationException: An exception was thrown by the type initializer for *** ***.Start () (at...
View ArticleCan I build Unity Android and iOS plugins as DLLs? as in compile all the...
Similar to what Parse did for their Unity Plugin. How did they compile everything into just one dll file? Also does a Unity build for iOS compile dll files that are located in the Plugins/Android...
View ArticleUsing Mono referenced classes
Hi There, This is driving me insane. All I want to do is use some of the inbuilt mono classes. I include them as a reference then they work, but unity cannot find them so fails the build! I know I have...
View ArticleUnhandled Exception. We Hate Them, But They Happen
I am creating speech recognition software using AT&T's api located here: http://developer.att.com/sdks-plugins/att-sdk-for-unity. It gives a .dll file as usual. Now the software works fine in the...
View ArticleUnity as a VST's interface?
Hi, I would like to use Unity to build a VDT. Such as Native Instruments's Massive VST. The problem is, a VST's final form is a DLL and I think a VST project needs to be compiled to a DLL from code by...
View ArticleDLL NOT FOUND EXCEPTION even after following procedure
Hello Guys, I have a Game in Unity3d that uses VRPNWrapper.dll to stream the values from a 3D motion sensor. The application was working very well in my PC as well as a laptop. I got a new laptop and...
View ArticleDLL Import
Hi all, I am trying to import a few DLLs into Unity and I was wondering really where I'm going wrong. I have a third party DLL and its source and I am trying to get it to spit out something other than...
View ArticleSystem.Reflection.ReflectionTypeLoadException Custom Dll mathnetnumerics
I'm having major problems when i tried to use the dll in unity3d it gave me this error i already tried placing the dll in the asset folder, or even in the plugin folder,even setting the meta force...
View ArticleJson.net - windows store phone 8.1
Hi, I wanna use JSON.NET Library to seralize objects in Windows Store Application - SDK Phone 8.1 but I am getting error:Assets/NewBehaviourScript.cs(3,7): error CS0246: The type or namespace name...
View ArticleHow to access unmanaged dlls in Unity
I'm trying to access data from a Garmin heart rate monitor in Unity via ANT USB stick. I can successfully receive data from it using a Visual Studio C# console application, but I cannot connect to the...
View ArticleExclude scripts from ios vs android builds?
Hi, right now we have a ton of different libraries in our Plugins folder. Some of these are platform-specific (ie Googe Play vs IOS in-app-purchasing). I noticed looking at our .dll.o files that all of...
View ArticleNeed to move monobehaviours to a DLL, will deserialization still work?
Hi, I need to move some monobehaviours from our Plugins folder into a dll that I will build using Monodevelop. Will I need to do anything special to make sure that my behavior guids (the stuff stored...
View ArticleMonodevelop-built DLL not recognized by Editor
Hi Gang, I used Monodevelop to build a DLL with these properties: - targeting Mono/.NET 3.5 - Disabled 'Mono Soft Debugger Support for Unity' (http://screencast.com/t/6Qf5NILS) - put resulting .DLL and...
View ArticleHow to use Unity's mono to compile in MonoDevelop
I want to create a .dll to use in Unity, by using MonoDevelop. Since my code makes use of the default arguments feature I am forced to use .NET 4.0 for compiling. If I compile that way however, then...
View ArticleHow to redirect System.Console.Write from dll to Debug.Log
What I am currently doing can be summarized as: var stdOut = System.Console.Out; var consoleOut = new StringWriter(); System.Console.SetOut(consoleOut); //.dll call that calls...
View ArticleInclude platform defines in dll
I've been trying move some of my c# code into a dll reduce compile time and so I can create a custom Debug output tool (since putting the code in the dll will allow to click on the log and take you to...
View ArticleUsing multiple DLLs through AssetBundles
I have created a framework which downloads the entire game via assetBundles and assigns the scripts on objects at runtime. The scripts are also placed in a dll which is downloaded via an assetbundle. I...
View ArticleExclude some dlls to load when build is not PC?
Hello, I extended my editor with a windows forms window and when compiling for PC everything is fine. But when I try to compile for android or web player, it does not compile because it seems to use...
View ArticleFinding the Problematic dll in "Extracting Referenced dlls Failed" (Unity5)
We are starting to update to Unity5. After upgrading from 4.5.2f1 to 5 we have started to have a problem making builds. Our scenes / projects work correctly in Play Mode. However when we build any...
View Article