Search Issue Tracker
Fixed in 1.1.0-preview.3
Votes
3
Found in [Package]
1.0.0-preview.4
Issue ID
1248073
Regression
Yes
Keyboard.current.(key).wasPressedThisFrame is true for large number of frames when pressed outside of Game Window focus
Reproduction steps:
1. Open attached project "InputSystemEditor.zip" and scene "SampleScene"
2. Enter Play Mode
3. Press the "t" key
4. Observe Console window
5. Left-Click outside of the Game window (e.g. Inspector)
6. Press the "t" key
7. Observe Console window
Expected result: One message is printed
Actual result: Many messages are printed
Reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a11 (1.0.0-preview.4, 1.0.0)
Not reproducible with: 2019.3.14f1, 2020.1.0b9, 2020.2.0a11 (1.0.0-preview.3)
Could not test with: 2018.4.23f1 (0.2.1-preview, never returns true), 2020.2.0a11 (0.2.8-preview, console errors break project)
Comments (3)
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
- GameObject with the Visual Effect Component is not rendered in the Scene view when it is reenabled in the Inspector and the Play mode is paused
- Prefab icon blends in when selected in Project window with the Light Editor theme enabled
- Textures from other Sprites in the Assets leak into Sprite Renderer Sprites when Sprite Atlas v2 is used
- Errors “UI Error: Invalid GUILayout state in TestRunnerWindow view“ and “ArgumentException: An item with the same key has already been added“ are present when running tests with names that duplicate after truncation in the Test Runner window
- Flickering white border around Game View when Gizmos are enabled
Illusion-Walk
Feb 16, 2021 13:12
The issue still exists in version 1.1.0-preview.3.
wouldntsavezion
Jan 05, 2021 00:19
Wow I just now experienced this, I thought I was going crazy, anyone found a fix ?
awallick-sd
May 19, 2020 23:53
For mouse, clicking in the Game view and then outside of it in the Editor also seems to cause the Pointer position to be set to (0,0) for several frames.