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"?
↧