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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Add comment