#[DEV-10256] controller disconnect in gameplay bricks cursor to hide persistent through sys restart.
5 messages · Page 1 of 1 (latest)
Something similar happens on console (Xbox) as well. Have to restart the game to regain controller input.
Sounds like a seperate bug to me though the cause may be similar.
Plausible Causes for Input Issues:
- Device Prioritization Bugs: Controller input may be prioritized, but the game fails to fall back to mouse/keyboard after a disconnection.
Input Focus Lock: The game doesn’t release focus from a disconnected device, ignoring other inputs. - Residual Input States: Cached input data (like cursor position or button presses) isn’t cleared during transitions or on exit.
- Event Handling Gaps: Missing edge cases like mid-game disconnections or battery loss, leaving the input system in an undefined state.
Suggestions: Test for mixed input scenarios, handle disconnections gracefully, and ensure the input device list refreshes dynamically.
I did notice that on PC it takes quite a while for the engine to register that a controller has been disconnected. This probably indicates a code smell where you have a poll instead of a proper event.