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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
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.