- Home /
XInput for controller/gamepad rumble breaks builds (works fine in editor)
With the intention to get rumble working on controllers, I took XInput DotNet Pure into use. I managed to get the rumble working just fine both with Xbox One and Xbox 360 controllers, no errors whatsoever, all fine. BUT when I make a build, that build does not run properly. The only difference with a fully functional build is the inclusion of XInput stuff.
Anyone else here experienced same kinds of issues with standalone builds? Any other way to get rumble working on controllers than Xinput?
The Unity version I'm using is 5.5.0f3.
Just making sure, but did you copy the DLL into the .exe's location? I think that was required, although that was a year or so ago so it might be different now.
Yes, I did. I tried that and once that didn't work, also copying the entire path that the project used (Plugins/yadayada/thatdll) to the .exe location just in case the build was searching for the same path. Neither worked. I can't summon an error while in Editor because the error doesn't happen there, and the .exe doesn't produce a message into the log either.