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)
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
- Shader Graph's Simple Noise node preview is black when no Active Targets are selected
- AudioSource starts playing at full volume when AudioMixerGroup is unloaded
- Audio fails to play in the WebGL Player when its clips are played in the Timeline
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
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.