Search Issue Tracker
Fixed in 1.4.0
Votes
1
Found in [Package]
1.2.0
Issue ID
1376034
Regression
No
ArgumentException errors are thrown when calling InputSystem.onAnyButtonPress
How to reproduce:
1. Open user attached project
2. Enter Play Mode
3. Press any key on a keyboard that would output a symbol
Expected result: no ArgumentException error is thrown in the Console
Actual result: ArgumentException error is thrown in the Console
Reproducible with: 1.1.0-pre.6 - 1.2.0 (2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.0b12, 2022.1.0a9), 1.1.1 - 1.2.0 (2021.2.1f1, 2022.1.0a14)
Can't test with: 1.1.0-pre.5 and lower (2019.4.32f1, 2020.3.22f1, 2021.1.28f1, 2021.2.0b12, 2022.1.0a9) - onAnyButtonPress API was not implemented yet
Note:
- Pressing keys/buttons on the keyboard or mouse after exiting the Play Mode still produces errors
- Errors depend on the device
- Reproduces with keyboard keys that would output a symbol
- Reproduces when clicking any button on a mouse
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 AudioMixer::GetFMODChannelGroup when entering Play Mode in a specific project
- Prefabs with "Flags" enum properties result in "IndexOutOfRangeException" when trying to commit/revert
- The Camera first person mode in Cameras overlay is greyed out and not clickable when the Editor is restarted with the Game View focused
- Scene View doesn't select the Canvas when it's clicked with the View Tool
- Transform fields are impossible to edit when Inspector window is resized
Add comment