Hello,
I have a project using Uniwii for wiimote detection. It works fine in the editor, but it doesn't work in the build version (it's a pc/standalone build, as we test the game on pc).
After some research, it appears that there is a problem with the dll import for the build version:
DllNotFoundException: C:/Users/zelda/Desktop/Builds/MyAwesomeProject_Data/Plugins/UniWii.dll
at (wrapper managed-to-native) WiiMote:wiimote_start ()
at WiiMote.Start () [0x00000] in :0
The dll is at the right place, in the Plugin floder. I checked the Plugin folder of the build
version too: the dll is here.
In the script Wiimote.cs, the dll is imported like this:
[DllImport ("UniWii")]
private static extern void wiimote_start();
So, why do I have a dll problem with the build version while the game works fine in editor? How should I fix it?
Thanks in advance for your answers :)
↧