speps / XInputDotNet

C# wrapper around XInput, works with any Mono or .NET application (eg. Unity3D)
466 stars 96 forks source link

Game build not working on other computers #11

Closed ClintWalsh closed 9 years ago

ClintWalsh commented 9 years ago

I imported XInput and it is working just fine on my computer. But when I make a build and run it on another computer, it crashes. The error log says "Alpha_03.exe caused an Access Violation (0xc0000005) in module Alpha_03.exe at 0023:00000000."

And the output log says " Initializing input. XInput1_3.dll not found.

Input initialized. Crash!!!" Is there a way to fix this issue? Thanks Clint
speps commented 9 years ago

Are you using the latest version of the binaries? I updated it last week to fix a crash, I think it's the same one you're seeing.

ClintWalsh commented 9 years ago

Thanks for the quick response.

I just tried downloading the latest version of the .unitypackage and importing it into a copy project where I had deleted to old XInput files. I put a copy the XInputInterface in the root folder and added XInputDotNetPure to the references in Monodevelop. This works on my desktop just fine but when I send to build to my laptop it crashes with the same error as before.

Have I put the files in the wrong place perhaps?

ClintWalsh commented 9 years ago

This is embarrassing but apparently I didn't have the latest DirectX version on my other computer when I thought I did. Everything is working now. Thank you for your quick response and sorry to inconveniencing you.

speps commented 9 years ago

No worries, it happens :)