Loading Windows 10 DLL. "This operation is only valid in the context of an...
I am currently working on a native plugin for Unity involving other static libraries (dependencies). I have recently upgraded to Windows 10, and am running the most current Unity. I followed...
View ArticleCompile all scripts to DLL (scripts folder to dll)
Hello, I need to share my project with someone, but I do not really want them to see or reuse my code, so I am looking for a way to compile all my game scripts into DLL. I have tried to compile my...
View ArticleaddReference to custom .DLL (VisualStudio)
Hi there!, I have an Engine that i use in diferent games, a .dll. The idea is to use it as a reference in every project, but not put it in the asset folder of every game. can not find the way to do...
View Articlenonstatic extern functions from DLL plugin import
Hi I'm working on an acoustic room simulation with the processing being performed in a dll. It seems as though calling the function via dllimport requires the function to be static, limiting me to one...
View ArticleCopy dlls to ouput directory
I have an external process that I want to start alongside my game in Unity. That external process relies on some dlls. I want all of that to be included within my unity project and exported alongside...
View ArticleError CS0006: Metadata file 'Assembly-CSharp.dll' could not be found (CS0006)...
I was going through the Survival Shooter tutorial and I get this error with both my script and the CompletedAssets one. I have no idea what it means and google doesn't seem to know either. What do I do?
View ArticleWebplayer project with hidden and exposed code?
Hi, I'm currently working on a project where there is base code and client-specific code. The project is a WebPlayer-based project. I'd like to provide my client with the client-specific code so they...
View ArticleHow to step into a native C++ dll in Visual Studio?
I'm debugging my C# unity code through visual studio, and I would like to step into my native C++ code. From C#, I am loading my native c++ plugin using the LoadLibrary function. [ DllImport(...
View ArticleConverting c++ to c# and procedural galaxy generation.
I am currently working on a project were I want to randomly generate a galaxy. Using the information found [here][1] I have been able to generate a rather good looking galaxy, however, I think that I...
View Articlecan use unity engine in dotnet project
Hi, I was wondering if there is possible use unity dll in a dotNet project ? In our software, we need to draw Node-Edge Graphs and i wanna know there is possible to use unity for that. thanks in advance.
View ArticleRemove DLLs from build
I'm building a WebGL project and I can't seem to get it under 7 MB despite minimal assets. Currently, dll's are taking about 50% of he build. I've tried everything I can think of to reduce...
View ArticleIs it possible to recover project from .exe? Please help!
I had a game I was working on for 8 months and all day every day, even losing sleep, loved the thing. I was going to back it up soon, but not soon enough because my PC had some problems and kind of...
View ArticleImport (mixed assembly) managed C++/CLI DLL plugin
**This post covers my experiences with managed C++/CLI DLLs and ends with the question if it is possible to do it. Up to now I haven't been able to make it work.** ---------- So I do have some heavy...
View ArticleError: Type is a part of Assembly-CSharp-firstPass and NAudio
I'm working on a project in which I need to convert an mp3 into a wav. I imported NAudio in order to do this but whenever I make a new variable in the NAudio namespace it says that the type is a part...
View ArticleScript Import AssetBundle: ClassDerivedFromMonoBehaviour?
I think I'm almost done with this Script that Includes scripts in assetbundle. I'm using this documentation here: http://docs.unity3d.com/Manual/scriptsinassetbundles.html + all the answer/question...
View Articleusing Mono.Data.Sqlite missing an assembly reference?
Dear all, I'm trying to use SQLite in unity for scoring purposes by following this tutorial https://www.youtube.com/watch?v=9SHz8mm-4Pw. However, this error appeared when I add: using Mono.Data.Sqlite;...
View ArticleOledb and Odbc missing in System.Data
I'm trying to read a database using either System.Data.Oledb or System.Data.Odbc, but neither of them are in the Unity version of System.Data. Is there any way that I can use these libraries?
View ArticleDebug a DLL that's loaded by a Unity program.
I have a Unity program that I did not write and for which I do not have the source code but it calls a DLL plugin I am writing. I would like to know how to debug my code because "Attach to Process"...
View ArticleAccess Violation Module Unknown
I'm attempting to use a Mono wrapper for CEF (CefGlue) to embed a chrome browser as a texture for use with Unity UI. The code was built in VS targeting Unity .net 3.5 full base where it works without...
View ArticleAbout generated dlls and Unity
I had generated dlls before but i never went to deep on them. Ive created a dll for my unity editor scripts and another dll for the normal scripts and here is my question: When i compile the dlls in...
View Article