Getting 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 ArticleMS SQL Database and System.Data dll
Hello, I've been trying to add the System.Data dll into unity so that I can use the DataTable, SqlConnection, SqlCommand, and SqlDataAdapter classes. I am using Unity 2018.1. At most, I've been...
View ArticleUnity iOS - Cannot import functions from .Bundle
Currently trying to create a wrapper for an iOS framework on Unity. I made a .bundle, containing basic objective-c code : **sample.h :** #import extern "C" { void SampleFunction(); // this is going to...
View ArticleSystem.Drawing.dll usage in android
Which i'm trying to do is using System.Drawing.dll in Unity and make a texture of string. Until in editor, it works fine. But when i build and play at my android phone, it doesn't work causing error...
View Articlewhat configurations can let unity check Dllimport libname when building.
It is strange. I build two projects on Mac unity 2017.3.1.p4.I will generate a APK and use some native(.so) libraries. I change the library to a wrong name. One project will check and errors happen...
View ArticleHow do I import MySql Connector into Unity Project?
- I've tried placing the basic dll's into unity's assets folder - Result: "blah blah will cause Unity to Crash Error." - I've tried Manually adding references - Result: Unity refreshes its references...
View ArticleDllImport safety
I've decided to grab mouse position from os ionstead of using Unity Input, to avoid mouse lag. What I'm using is: [DllImport("user32.dll")] public static extern bool GetCursorPos(out POINT lpPoint);...
View ArticleHow attach dll for debug release versions x64
Hello, I have got a c# Class Library, .Net framework is 4.7.1. This library uses dll files with different CPU configuration and Build settings.Actually, I use the x64 version and set project...
View ArticleHow to properly use my own DLLs in Unity?
I have been working on an unity tool and at this point I need an external library to be used (DLL) but at the moment of using any referenced function: [DllImport("soloud_x86.dll", CallingConvention =...
View ArticleEntryPointNotFound exception when integrating Picovoice Porcupine
I have been trying to integrate Picovoice Porcupine (https://github.com/Picovoice/Porcupine) into a proof of concept demo built for ARMv7 Android in Unity. I am attempting to access the ARMv7 .so...
View ArticleLoad DLL for specific Unity version
I have two DLLs: one only works on Unity 2018 and the other only works on Unity 2017. Is there any way I can have both DLLs in my project, but only the DLL that matches the current Unity version gets...
View ArticleI have a problem implementing AWS S3 sdk for HololensDevelopment to store files
I tried many different ways to implement the AWS S3 sdk to my projects, targeting Hololens (different Versions of Unity 2018.2.9,2018.2.12, 2018.3.0 and different dll-Versions targeting .net35 and .net...
View ArticleUnable to find type or namespace of imported DLL
I downloaded the "smilenet-1.2.1-win64-academic" library from this [page][1] and imported the smileNET.dll in my Unity project. Then I restarted my visual studio, and when I tried to use the library,...
View ArticleIntegrate Xbim Tool external library into Unity
I'm trying to transfer geometric and architectural data from an .ifc file into Unity In order to accomplish this task, I'm using Xbim Tool's C# libraries [Github Link here][1][Nuget Link here][2]...
View ArticleGoogle Cloud Integration
Hello, I'm trying to incorporate some of the APIs for Google Cloud services into my project, but I'm running into some dependency issues. All of the Google APIs are available on NuGet, but since Unity...
View ArticleConverting from c# string to c++ string
I'm using a Dll created from a C++ file. When I either put the .dll and .lib files in my Unity-project folder or when I use the function that I need, Unity crashes and I can't open the project untile I...
View ArticleReferencing a DLL in C#
I have created a .dll file that sets up printing capabilities and now I want to be able to reference the function in my C# code (on a button press) My .dll is as follows: using Android.Print; using...
View Articleadding my own default files,changing default startup files
I created a DLL for a function library I wanted to create, but I couldn't find a way to make a default file so that it will be in every new project I open and I could access the class inside via a...
View ArticleNative plugin problems with varargs on iOS (Opus)
I'm trying to add the Opus library to my project using native plugins. I have it fully working on Android, Windows, and Mac. It's almost working on iOS, except for one function which is causing...
View ArticleUsing Windows system dlls on Hololens 2 when compiled with IL2CPP
Hello, I'm building an App which requires the use of the MAC Address of the Hololens 2 (I'm not uploading the App to the Windows Store so no worries about security here). To do so I've used the...
View ArticleEmguCV 'Assets/Plugins/Emgu.CV.UI.dll' will not be loaded due to errors...
Hello everyone, I imported EmguCV nuget package to Unity within these steps=> https://docs.microsoft.com/tr-tr/visualstudio/cross-platform/unity-scripting-upgrade?view=vs-2019 I believe Ive done...
View ArticleDLL worked on WPF but not on Unity.
I have a DLL file (not my custom dll) work as communicator to another devices. There is an example solution (WPF) that use the file which working fine. I tried to create another project (WPF) to test...
View ArticleI upgraded to Unity 2019.3.7 from 2018.4.0. Firebase cannot found dll. Below...
DllNotFoundException: FirebaseCppApp-6.0.0 Firebase.AppUtilPINVOKE+SWIGExceptionHelper..cctor () (at Z:/tmp/tmp.IBVQRwCCZa/firebase/app/client/unity/proxy/AppUtilPINVOKE.cs:118) Rethrow as...
View Articlecsc.rsp works in editor but throws an error when building
Hey, for a current project I have to scale the byte/color array of an image, therefore I found the easiest way to do that is using System.Drawing (if somebody has a better solution I am open for it...
View ArticleMultiple DLL with the same class reference
Hello, I am using third party libraries in my projects, one is [Diagflow for Unity][1] and the second is [Ros for Unity][2] My issue comes with the fastJSON.dll and NewtonSoft.Json.dll they both are...
View ArticleAndroid 64-bit .so DLL file not found error
Hello, I am trying to update an older plugin to work for Android 64 bit builds, and am running into problems. Namely, I am trying to update the "OpenCV + Unity" plugin, and I have already created a...
View ArticleCan i call an external method from a job?
Is it possible to call a method from a .dll in a job? I'm doing some optimizing and I want to combine multithreading with SIMD for the best performance result. I do know however that the job system can...
View ArticleUnityEngine.dll outside Unity
Hi, i'm working on a visual studio project trying to use UnityEngine.dll as a reference within it, outside the Unity Editor. For what I have seen and read, Unity .dlls are not accessible from outside...
View ArticleHow do I reference multiple dll files?
I, need the System.Drawing.dll for two different dependencies but when I import the .Net 2.0 version the one dependance says it needs the .Net 4.0 one and the other way around. If I import both...
View ArticleImporting external DLLs to satisfy AssetBundle MonoBehaviour references
Hi there! It's my understanding that AssetBundles & Addressables cannot contain scripts. As an alternative, I'm choosing to load a DLL alongside (but before loading the addressable catalog)....
View Article