Search Issue Tracker
Won't Fix
Votes
0
Found in
2019.2.0a1
2019.3.0a1
2019.3.0b3
2020.1.0a1
Issue ID
1184172
Regression
Yes
Game View loses focus when hovering on other UI Windows using Input.GetKey()
How to reproduce:
1. Open user's attached project (2019_3_bug_input.zip)
2. Open "SampleScene" Scene
3. Enter the Play mode
4. Hold down F key
5. Move mouse over Project Window or Hierarchy Window
Expected result: Input.GetKey(F) is focused when hovering over other windows with the mouse
Actual result: Input.GetKey(F) is not focused when hovering over other windows with the mouse
Reproducible in: 2019.2.6f1, 2019.3.0b3, 2020.1.0a4
Notes:
Could not reproduce in 2018.4 and 2017.4 because of ArgumentException error
Comments (1)
-
Peter77
Sep 17, 2019 15:06
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2020.1.X):
The "F" key is one of very few (if not the only one) shortcut that is global and may reproduce this problem. Ultimately, this will be a feature implemented by the shortcut manager. For now, it's more a feature request than a bug.