Open NoelFB opened 6 years ago
The GetState
method will throw this error if the gamepad is disconnected. I assume GetState
gets called after GamePad.IsConnected
is checked in the code.
Im not sure how you keep track of playerindexes but if that's implemented well then this bug is a rare occurrence IMO.
Try different controllers maybe to exclude hardware failures?
For me calibrating the controller via Steam fixed the problem (Setting > Controller > General Controller Settings). I only had this issue with Celeste, so the controller seemed to be calibrated just fine. This did the trick, though.
Hope this helps others as well.
Not sure what causes this or how it becomes invalid. Error log: