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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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.