Native DLL saying FileNotFoundException
I'm trying to use the C# library clrzmq which is a library for ZeroMQ messaging. There's a .NET specific one but I'm unable to get it to work in Unity 2017. My script for clrzmq works fine in...
View Articlehow to connect to mssql in unity for hololesn (Build Setting Error)
For connecting to mssql in unity, I referred to System.Data.dll, located in C:\Program Files\Unity\Editor\Data\Mono\lib\mono\unity ( I found some blogs to recommend it, since unity can only refer to...
View ArticleError: Failed to set the specified COM apartment state & Canon EDSDK
Hi~~ I am trying integrate Canon EDSDK with *Unity3D (5.6.1)* by referencing Canon EDSDK's Visual Studio project from **>>**...
View ArticleWhy are .NetStandard 1.0 libraries not working?
I have tried to compile dlls to be used in Unity, however I seem to be getting the error: Assets/Test.cs(12,18): error CS0012: The type `System.Object' is defined in an assembly that is not referenced....
View ArticleMarshal C# Method with C++
Hi everyone, I want to call a specific method in my Unity project within an external plugin. Here is my C++ code: static void UNITY_INTERFACE_API OnRenderEventThreadSafe(int eventID) { [...] Some C++...
View Articleusing System.Drawing.DLL in standalone
In my project I use System.Drawing.DLL, I have put the dll in my asset folder. It works fine in the editor However when I create a standalone one of my gameobjects that I have linked to my script...
View ArticleUnityPlayer.dll, locate from different folder
I have 2 built unity applications, one is my actual program the other is a custom patcher that I made to keep the aforementioned application up to date for users. The problem is having 2 separate apps,...
View ArticleAre calls to C++ DLL handled asynchronously?
Hi everyone, When I call an imported function (from a C++ DLL), will Unity stall until the function finishes executing, or will it still run asynchronously? The dll does some extensive computing that...
View ArticleHow to use Google Optimization Tools DLLs ?
Hi ! I need to use one algorithm from the Google Optimizations Tools (https://developers.google.com/optimization/). I saw they are distributed as DLLs for C#, so I guess there must be some way to use...
View ArticleReferencing external dll
Hello, I'm trying to use a dll (based on .Net Standard 2.0 framework) in a Unity project, but I find no way to reference it from my Unity's script. This dll contains some simple C# utilities that are...
View ArticleCan't use System.Net.Sockets on Nintendo Switch
We removed our question due to possible NDA violation. We have moved to dedicated Nintendo developers forum. Please delete this question if possible.
View ArticleIts possible to hide UnityPlayer.dll?
I just want to know to avoid errors if i dont move the file because if i move it to data it doesnt works for me,
View ArticleUnityEvent Not Showing Public Methods From Class in DLL
Hi all, I have a class in a dll: public class MyClass : MonoBehaviour { public void MyMethod() { Debug.Log("MyClass::MyMethod()"); } } I've included the dll in the Unity project and added a class in...
View Articleunity3d import c++ dll for pass by reference method
I'd like to use c++ code in Unity3d. Normally, it is ok, i can do it by importing dll. What i'm trying to learn is whether using c++ method parameters as pass by reference is possible or not? What i'm...
View ArticleHow to fix failed to load assets/Plugins/filename.dll with error the...
Hi! I have a project that uses dlls and the project works fine on 5 computers, some of which have the exact same hardware. I get these errors on three machines, 2 of which have the exact same hardware...
View ArticleCustom DLL - MissingMethodException: string[] string.Split
For some reason, I can't get string.split to work from within the dll. (I can successfully use it in Unity/C#) Here is a snip of my C# code in a separate solution: using System; using...
View Articlec# .dll and a target .NET framework to use in visual studio build
I am planing on writing a c# plugin for Unity, that is building a plugin.dll file outside of unity environment(in visual studio), and than using it in my unity project. When researching this topic I...
View ArticleCan't build UWP app that uses SQLite.
Hi! I'm currently trying to build a UWP app that uses SQLite. Upon build however, I'm confronted with errors that look like nothing I've seen before: [...]...
View ArticleGetting SSH.NET to work in Unity
My steps: Downloaded the library from https://github.com/sshnet/SSH.NET Built the 3.5 framework one and copied the DLL at *\src\Renci.SshNet.NET35\bin\Debug\ into Unity assets Wrote a script that...
View ArticleAssembly-CSharp as Default Class Library for Scripts?
So i'm new to Unity and I have a question about the Libraries for created scripts. When I make a new script, I find that this is under a Class Library in Visual Studio 2017 with the name:...
View Article