Search Issue Tracker
By Design
Votes
1
Found in [Package]
1.2.0
Issue ID
1381485
Regression
No
InputSystem Package unresponsive when multiple bindings on an action
Reproduction steps:
1. Open project "TestDebugInput.zip"
2. Open Scene "SampleScene" and enter Play Mode
3. Click and hold the Orange Panel
4. Observe logs in the Console window
Expected result: "Get pos" is printed once
Actual result: "Get pos" is printed twice
Reproducible with: 1.2.0 (2019.4.32f1, 2020.3.23f1, 2021.2.3f1, 2022.1.0a15)
Note: This doesn't happen when clicking and holding on the Green Panel
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
- 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
Resolution Note:
The code is hooking the same method up to all three action notifications (started, performed, and canceled). So the same code gets called for every change on the action. An action will go through 'started' before going to 'performed' or 'canceled'. Thus you get one call for 'started' and one call for 'performed'. So two calls. 'InputAction.CallbackContext.phase' tells you which phase the action currently is in.