Extra key down on scene change bug?

Hello. I’m fairly new to Unity and this may be my misunderstanding of how I’m supposed to use the keyboard so apologies up front if I’m being stupid.

I have two scenes and each one has a script that calls Input.GetButtonDown which, when the right key is pressed, calls SceneManager.LoadScene to change to the other scene and that works fine. So I can toggle between each scene each time I press the key. However if I press AND HOLD the key it will toggle indefinitely between the two scenes. It seems that each time I change scene the key I was holding will register a new GetButtonDown (but only after a couple of Updates have been done). This is NOT true of game pads. A game pad will only change scene once if I press and hold which is the expected behavior.

I’ve attached a really simple project with demonstrates this.

BTW I’ve also tried using the Rewired plugin and I get exactly the same behavior.

Any and all suggestions welcome. Thanks.

2861283–209400–Keyboard test.zip (36.5 KB)

I forgot to mention the rate at which the scenes toggle between each other appears to be the same as the OS’s natural key repeat rate. Normally Unity doesn’t report keyboard repeats but it seems this is a special case when the scene changes?

Oh and I’m using Unity 5.4 on Windows 10 and this behavior happens in editor and release builds.