Bug

A known, postponed Unity bug: Tab Button

Issue Tracker: https://issuetracker.unity3d.com/issues/pressing-tab-key-does-not-navigate-between-input-controls?_ga=1.166523063.801547011.1462557649

Bug Description

I was trying to implement a function when the Tab button was pressed. However, the function only responds for the first time. After the player presses Tab once, ALL¬†hotkeys in the game being unresponsive. The only way to bring back hotkeys’ functions is to use the cursor click in the game. It happens for GetKey, GetKeyDown and GetButtonDown.

Noticed that the problem only occurs under editor mode and development builds. It disappears in release builds (none-development builds).

I’ve also checked EditorWindow.focusedWindow and EventSystem.current.currentSelectedGameObject. They are all correct when the problem occurs.

The bug has been marked as a “Postponed Issue” by the Unity folks, where “Postponed Issue” means:

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.