DLL Import => Build finish without Error but Can't Work
At first, I've already confirmed that DLL work well by using C# WPF project. Then I bring those DLL into Unity project, and confirmed "there is no error message". But the problem is that DLL doesn't...
View ArticleHow to access unity from within a c# file?
I'm a beginner to c#, and I'm trying to build a project with separation of components, and the graphics and user inputs are from unity. I understand that to access the c# file in unity, I'd have to add...
View ArticleDLL import => PlatformNotSupportedException
There happen "PlatformNotSupportedException" when importing DLL. Does someone know how to deal with this situation? playerlog (output_log.txt) PlatformNotSupportedException: Operation is not supported...
View ArticleIL2CPP mod support
I have some very basic mod support that loads DLLs from a specific folder as Assemblies and inspects it's types. If it finds an "IMod", it calls it's respective Awake() method. I will spare you the...
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 ArticleCannot build standalone version with my custom DLL
Does anyone what is the problem? It works fine in Unity Editor but just Failed when building a standalone version Unity 2019.4 ArgumentException: The Assembly UnityEditor is referenced by ModularMotion...
View ArticleBuild C# to dll for .NET 3.5 w/ VS 2017
This was pretty darn simple with MonoDevelop that came with Unity. I like Visual Studio, but it seems nerfed, no? I do not see a new project option for C#, let alone one for a dynamic linked library...
View ArticleCan't reference other namespaces from within TextMeshPro (TMPro) namespace.
I'm trying to add something to a textmeshpro class, but for some reason it can't find any references I try to make within the textmeshpro namespace. Why is this. From research it seems to maybe be...
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 ArticleCannot load "lib_burst_0_0" on Android builds
Hi everyone. I am trying to test my current project on Android. When running the apk, I receive the following error immediately after the Unity splash screen: ---------- D/Unity: Failed to load native...
View Article.NET Standard 2.0 - Windows Registry - works on Mac OS X
Hello, I have my project (originally developed on Windows) on API Compatibility Level set to .NET Standard 2.0, and in my project I have an external .dll class library compiled also as .NET Standard...
View ArticleManaged plug-in (dll) works in editor but build fails (error CS0246)
Hi everyone, I need to distribute a package that I've created and I need to prevent the final users from modify and look into my scripts, so I've decided to pack the scripts in a managed plug-in. I've...
View ArticleInvalid IL Code in Build
Hiya, I've been looking for a while now and I can't seem to get a way to fix my problem. I've been trying to use external DLLs with my application and they don't seem to be working when I'm building my...
View ArticleHow I should create the "dll's" of a plugin I created that depends on third...
Hello everyone, when you develop a plug in that depend on third parts, how you create the "dlls" in order to not create conflicts in case the user downloads (without knowing it) those third parts your...
View ArticleDllNotFound Exception on Editor but works on Standalone
I have native c++ .dll which depends on some others .dll. All the .dll dependencies are available through environment variable PATH. I have Unity3D 2019.3.15f1 Personal, it raises DLLNotFoundException...
View Articleerror CS0006: Metadata file...
Similar to [this question](https://answers.unity.com/questions/1709058/where-are-my-projects-dlls-saved.html), I am trying to get the dll location configured so my ale plugin can find correct DLL's to...
View ArticleIn unity Editor, How to make all cs files into Dll ?
Version 2018.4 I want to makes all cs files into a dll(or some dll). Others just need the dll and can run Unity well. They can add components as usual. The only difference is they cant read code files....
View ArticleUnity Plugins: Failed to load for Affdex SDK with error 'The specified module...
I am doing an experiment that involves playing an educational game (made in Unity) with facial tracking involved. The game can be downloaded [here][1]. The facial tracking runs perfectly fine on my...
View ArticleHow can I include DLLs only in server build?
The "Define constraints" for each DLL import seggins says it can include/exclude DLLs based on compile #define directives, but UNITY_SERVER seems to have no effect (apart from DLL being always...
View ArticleParse asset bundles to remap DLL calls in to sourcecode calls
Hi, I am working on a game that provides a DLL to the public to allow them to create new levels. These levels are then packaged up using the [Asset Bundle...
View Article