input mode changes reset keyboard capture

I’m aware that this is a known issue with the mouse capture (I have a plugin installed to solve it), but I haven’t seen any solution to this yet.
I have a weapon selection menu, and I just set the input mode to game and UI when opening it, and to game only when closing it. The problem is that if you are walking while opening the menu the input just resets, having to unpress and press the movement key for the character to start walking again. That happens everytime the input mode is changed, and I have no idea how to solve it.

(Edit: after checking I’ve noticed it only resets when the input mode changes from game only to game and UI and not the other way around)

If anyone can help me I would be so thankful :sweat_smile:

image

1 Like