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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
- Black square “shadow” artifacts visible when using Screen Space Reflections without maximum smoothing
Add comment