Search Issue Tracker
Fixed in 2022.2.X
Duplicate in 2020.3.X, 2021.3.X
Votes
1
Found in
2019.4
2020.3
2021.2
2021.2.7f1
2022.1
Issue ID
1402940
Regression
No
Control keys are inverted in the Editor after switching to open app or window and back to the Editor
Reproduction steps:
1. Open the attached 'InputSystemTest1' project
2. Open the 'SampleScene'
3. Enter Play mode
4. Note that the 'option' ('alt') key is not pressed and 'Key pressed: false' is logged in the Console
5. Switch to any other active window, press and hold the 'option' ('alt') key
6. Switch back to the Game View of the Editor window without releasing the 'option' ('alt') key
7. Observe the Console
Expected result: 'Key pressed: true' is logged in the Console
Actual result: 'Key pressed: false' is logged in the Console and the 'option' key is inverted
Reproducible with: 2019.4.35f1, 2020.3.30f1, 2021.2.13f1, 2022.1.0b2, 2022.1.0b9
Not reproducible with: 2022.2.0a1, 2022.2.0a5
Note: Reproducible also with 'Shift' and 'Ctrl' keys
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1