New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.x] InvalidOperationException: [Input] Invalid GamePad configuration value #1559
Comments
I'm using Windows 10 with Opentk version 3.3.3 and Opentk.GLControl version 3.3.3 in a .NET Framework 4.7.2 WPF project. Debugging and releasing in Visual Studio both work fine, but after packaging and installing, the program crashes with an error when run on a debugging computer. Application: MyApplication.exe Exception Info: System.Reflection.TargetInvocationException |
@shaoyidi this seems like a separate issue to me. Could you open a separate issue for this? |
@YoshiRulz is it possible to get the GUID for the controller that causes the exception? |
Other than the USB vendor ID you mean? I probably could, just give me code that prints it. |
Calling |
It is |
Description
Calling
GamePad.GetState
on app startup while a certain model of gamepad is plugged in causes it to crash.Repro steps
Clone repro project,
dotnet build && mono bin/Debug/OTKRepro.exe
.Expected behavior
Doesn't throw, and
GamePad.GetState(0).IsConnected is true
Actual behavior
Related information
Crashes on Debian 11, Mono 6.12.0.182. Hardware is an iNext 'GAME CONTROLLER' 0079-0011 (SNES "dogbone" gamepad clone).
Repro project targets .NET Framework 4.8 and uses OpenTK 3.3.3 from NuGet. Only the Input types are used.
The text was updated successfully, but these errors were encountered: