Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
0.3.1
Issue ID
1165517
Regression
No
[Windows] printscreen gets registered upon pressing Insert/Home/PgUp/PgDn/End/Delete or the arrow keys when NumLock is off
How to reproduce:
1. Open tester-submitted project(NumlockInputBug)
2. Open the New Controls.inputactions asset
3. Add a new Action Map and Action
4. Select <No Binding> and in the properties window click on the empty 'Path' dropdown
5. Make sure that NumLock is set to 'off' on your keyboard
6. Click 'Listen' and press one of the arrow/Insert/Home/PgUp/PgDown/End/Delete keys
Expected result: only the pressed key is registered
Actual result: the pressed key and printscreen are registered
Reproducible with: 2019.1.10f1, 2019.2.0b9, 2019.3.0a9
Could not test with: 2017.4.30f1(Package not yet introduced), 2018.4.4f1(Inputs do not get registered at all)
Reproducible with package versions: 0.2.1, 0.3.1
Could not test with package versions: 0.1.2, 0.2.0(Incompatibility issues)
Notes:
Can also be observed in the Input Debugger
Not reproducible on macOS
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
The prt scn bits are coming from the actual scancodes produced from the operating system. We can't fix this as this is the read keyboard state. prt scn as well as some other keys such as the windows key etc, should never be read or used in a game due to the possible side effects. Its recommended a prt scn key down or pressed event be ignored.