I’m not sure if this is a bug or if I’m doing something wrong. I have a scene that looks for a spacebar press like so:
if (Input.GetKeyDown("space")) {
Application.LoadLevel("canyon_setup");
} // if space pressed
In the follow-on scene there is a character with a CharacterController. However, the very first press of the spacebar (for jumping) is ignored. Spacebar is the only key with this problem (first press ignored), and no other keys have this problem. There is nothing in the scene looking for a spacebar press. This problem is consistent across both Mac and Windows.
Does anyone have any thoughts on what may be causing this?