Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.3.X
Votes
0
Found in
2020.2.0a12
2020.3
2020.3.1f1
2021.1
Issue ID
1325742
Regression
Yes
Both KeyDown and KeyUp events get invoked upon first mouse click in Game view when it's maximized by context menu setting
Reproduction steps:
1. Open attached project "1325742.zip"
2. Open "SampleScene" Scene
3. Right-click on the Game view Tab to open the context menu
4. Click on "Maximize"
5. Enter Play Mode and click anywhere in the Game view without releasing the mouse button
6. Notice Console messages in the bottom left corner
Expected result: Only the Input.GetKeyDown event is invoked upon the first click and the "KeyDown" message gets printed out
Actual result: Both Input.GetKeyDown and Input.GetKeyUp events are invoked upon the first click and both "KeyDown" and "KeyUp" messages get printed out
Reproducible with: 2020.2.0a12, 2020.3.4f1, 2021.1.0a5
Not reproducible with: 2018.4.33f1, 2019.4.24f1, 2020.2.0a11, 2021.1.0a6, 2021.1.2f1, 2021.2.0a12
Notes:
- Only the first click is causing both events to be invoked, all other clicks after that work fine.
- Maximizing with the "Maximize on Play" button in the Game view doesn't cause this behavior
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a6
Resolution Note (fix version 2020.3):
Fixed in 2020.3.10f1