that one sounds like the old keyboard issue that RPG maker 2003 has:
https://steamcommunity.com/app/362870/discussions/0/541907867763056737/
this is a tool by one of the developers of the engine itself intended to fix this problem. should it persist, please check any controllers you may have connected, and any controller interfaces that might be active. those, too, can interfere with the game reading your controls.