Quantcast
Channel: Questions in topic: "dllimport"
Browsing all 160 articles
Browse latest View live

is there a DllImport Internal equivalent for unityscript?

I'm trying to translate the jslib webgl example from c# to unityscript: [http://docs.unity3d.com/Manual/webgl-interactingwithbrowserscripting.html][1] Can this be translated to unityscript?...

View Article


Why do DLLs have to comply with .NET 2?

I just wanted to ask what the difference for DLLs in comparison to Unity native compiled code is? I just starting creating a DLL with one extension method in it and Unity did not like it, saying...

View Article


EntryPointNotFoundException --import c++ plugins on ARMv7 VFPv3 NEON android...

my c++ code not reference 3rd lib,import succeed on most of android device but cpu of ARMV7 VFPV3 NEON,it throwEntryPointNotFoundException, my application.mk is: APP_OPTIM := release APP_ABI :=...

View Article

addReference 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 Article

nonstatic 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 Article


DLL working only on Unity Editor

I've built a DLL in Visual Studio, C++ language, that works as an interface between Unity and another DLL that I need to get data from (from a 3D eletromagnetic tracking system). In Unity Editor, I'm...

View Article

About 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

DLL Import Errors

Hello, I'm really new to Unity and I try to load a c++ .dll into my unity script. Heres my Problem. The C++ Projekt have one Method in the .cpp: bool Connect(string c_szAddr) { return true; } And thats...

View Article


Image may be NSFW.
Clik here to view.

Unity 5 (C#) live HTML MJPG-streamer viewer?

Hello community, I have a webpage which shows MJPG-streamer images from a [Raspberry Pi webcam][1] which I want to display inside Unity using a texture. Here's the "/stream" page html code: I can't use...

View Article


Libraries with Unity ?

Good evening, First of all, I'm sorry of my bad level in English, i hope you understand my question. I know that this questions was always many times ask but i don't find a clear answer yet... I would...

View Article

How do I cast an IntPtr to another class?

I'm currently trying to edit an extern method to just call another static method directly. (this is Mono.Sqlite.Data's UnsafeNativeMethods class). I'm assuming there has to be some kind of cast or...

View Article

Integration DLL into Unity (not in the project)

Hi, at first sorry for my English.. So i have a question: is it possible to add .dll library(or some classes) to the Unity Editor, so that when I create a project, Unity automatically add my dependence...

View Article

Can you start another application by running an Unity project? (using a proxy...

Hi, I’m trying to create a link between Unity and a traffic simulation program (Vissim). Vissim has it’s own proxy to communicate with Unity. I’m now trying to run Vissim via an Unityscript. The...

View Article


Issue loading unmanaged dll in Editor on Windows 10

I'm wondering if anyone has come across this recently. I just updated to Windows 10 from 8.1. I routinely use C DLLs to communicate with hardware such as motion platforms, both in editor and builds....

View Article

Editor on Windows 10 crashes when using a native dll; Build works, though

Hello everybody, I want to use a native C library (x64 DLL) in my project. I use Unity 5.6 (had the same issue with 5.5, just updated it) on a Windows 10 machine. Everytime I try to execute a function...

View Article


iOS open docx file from Application.persistentData

I have written a mobile unity app that needs to open a downloaded docx file. I can do this on my android build by simply calling Application.OpenUrl(myPath); and it works fine. I found that it is not...

View Article

EntryPointNotFoundException - native plugin help

**EDIT: SOLUTION IS BELOW! - look for the header "**SOLUTION**"** Hello, So I'm trying to use a C++ native plugin (balls.dll) with a C# script in my project (Unity 5.5.0f3). The dll is inside my...

View Article


How do you use a class from a .dll file?

I'm trying to use a class, "DevIO", from a Microchip library, "MCP2210-M-dotNet2.dll". When I downloaded the library, it had a managed and unmanaged folder, but Unity is reading both of them as native...

View Article

Visual studio from unity not recognizing imported c++ CLR DLL

Hello, I don't think this is a repeat question, as I'm not getting a physical error, it's just plain not letting me do something. So I have a custom-made data structure that I made a while back, (an...

View Article

Issues With Accessing Classes Nested In System.IO (Unity 2017.1.0f3)

Hiya, I'm trying to utilize various classes in the System.IO namespace but unfortunately I'm unable to do so. For an example: I can declare this just fine: System.IO.File However, the moment I try to...

View Article
Browsing all 160 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>