Using DllImport of different platforms
Hi, I'd like to achieve high-precision timing in Unity and thus I've used high-resolution timers such as: #if UNITY_IPHONE || UNITY_XBOX360 [DllImport ("__Internal")] #else [DllImport("Kernel32.dll")]...
View Articleionic.zip.dll does not work in build
hi guys, i use ionic.zip.dll in my project,i drop this file to assets and this work great in my project.but when i build this is not work :( what can i do for this problem, thanks in advance
View Articleobjective-c method call from unity
Hi, I'm trying to call an objective-c method from unity using C#. I'm using the plug-in method described here. I can get this method to work if I include my header and mm files directly in the Unity...
View ArticleUniwii DLL found in editor but not in build version
Hello, I have a project using Uniwii for wiimote detection. It works fine in the editor, but it doesn't work in the build version (it's a pc/standalone build, as we test the game on pc). After some...
View ArticleUsing a DLL in a unity project
Hi, I'm trying to compile a DLL and then import it in my Unity project. I followed the steps mentioned there but it doesn't work: http://docs.unity3d.com/Documentation/Manual/UsingDLL.html In visual...
View Articleimporting C/C++ function from DLL
Hi, I will explain what I want to do exactly and I'd like to know if I need Unity pro. What I read on [that page][1] let me think that yes but I want to be sure. I don't want to pay 100$ if it's not...
View ArticleUnity Editor freeze
Hi, I'm experiencing quite a problem and I hope someone can help me. For information, this is partly linked to another question because this explains what I did to get to my problem:...
View ArticleGet Exception DLL Not Found
I create C++ DLL using Visual C++ 2008 SP1. In editor I placed dll file in root of project folder. I using Pinvoke to call the dll file. All is fine even build the project and place dll file in same...
View Articlec source code in unity project, EntryPointNotFoundException
So I am trying to create a simple (the simplest!) unity project that will run on an iPad using some c code. The code: //testPlugin.mm extern "C" { int afunction_c(){ int i=321; return i; } } And:...
View ArticleWhy can't Unity use DLLImport twice for overloaded functions?
I've come across an issue where a library uses DLLImport two times for a function that is overloaded. I am building for iOS. Unity throws this when I try to build "Error building Player:...
View ArticleC# DLL calling functions from native DLL
Hello. I've developed a C# dll (let's call it WrapperClass) which exports a static class to wrap some functions from a native dll (let's call it NativeClass) using the [DllImport][1] attribute. So...
View ArticleDLL fallback path error
Hey! I get a really strange path problem for you. I've made a program which import a DLL file I've made. It works fine on my computer (using Win8). But when I try to run it on another computer (Win7) I...
View ArticleIs it possible to load an Editor assembly to add menus dynamically?
Our projects share editor components (MenuItems) used for our build pipeline etc. and currently we're just copying scripts and merge/integrate (we use Perforce) whenever there are updates to the shared...
View ArticleMissing using directive with imported c# .ddl
I have created a c# .dll to do some bitmap stuff with "System.Drawing" inside a unity game. So I set up a c# classlibrary-project in visual studio, changed targetframework to ".NET Framework 3.5",...
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 ArticleHow to use low-level Windows API keyboard hook to capture Print Screen key
Hi, I'm trying to implement some behaviour when the player presses "print screen" on Windows. For some reason the following does not work: if (Input.GetKeyDown (KeyCode.Print)) { ... } I've also tried:...
View ArticleInclude two of the same DLLs in one solution and Visual Studio
I would like to include two of the same DLLs (different versions) in my project. One is used by one of the plugins (can't be moved or removed) and the other one is used in the project itself (can be...
View ArticleBuilding OSX Bundles for Unity Extensions with External Frameworks
I'm writing an extension to access the some license management software. For Windows, I was able to build a .dll and access the license management functions with no problem. However, when I move to a...
View ArticleRead Data from dll on JacaScript
Hey I want to read some variable data from my dll file. So I maked plugins folder and copyed dll files. Then I don't know how to connect dll file and read data to variable. Please help me. I have no time.
View ArticleDuplicate Native Method
I'm attempting to make a nice multi-platform solution for support fmod designer in Unity3d. I heard this is on the roadmap at the moment, but it's becoming critical for our project so we can't wait for...
View Article