Search Issue Tracker

Fix In Review for 1.4.0

Votes

1

Found in [Package]

1.2.0

Issue ID

1376034

Regression

No

ArgumentException errors are thrown when calling InputSystem.onAnyButtonPress

Package: Input System

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.