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
- Search: Inspector section icon is less sharp/more pixelated than other editor icons
- Search description string is always truncated
- [VFX] When Grouped Nodes are converted to Subgraph Operator resulting Graph Node is not included in the Group
- Search window icons are less sharp/more pixelated than other editor icons
- The Inspector can be covered when scaling the horizontal separator bar
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.