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
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
- Crash on mono_array_length when building a project
- "StackOverflowException" error when changing spline curve type from "Bezier" to "Auto" in the "Element Inspector"
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1