Quantcast
Channel: Questions in topic: "dllimport"
Viewing all articles
Browse latest Browse all 160

DLL working only on Unity Editor

$
0
0
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 calling the functions with the DllImport and it works great! However, when I build the Unity Application (PC), it doesn't found the DLL. Stranger than that, when I "Build and Run" it works, but when I open the app from outside Unity it doesn't found the DLL. What am I missing? TL;DR: Why my DLL is only found in "Unity Editor" and when I make "Build and Run"?

Viewing all articles
Browse latest Browse all 160

Trending Articles



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