I have an if statement that unlocks the cursor in one script, and opens the pause menu in another. The cursor unlocks, but the pause menu doesn’t open.
But the console is still spammed with that error, and it’s coming from the first script (the one unlocking the cursor). Even though that one worked before, and still works.
EDIT 2: Just tested it with another one, like “Horizontal” and that doesn’t work either… Shouldn’t you have to call the axes instead of their keys? Isn’t that the whole point of having the InputManager?
What if I have multiple keys set up? it won’t work for both of them this way.