Unity Issue Tracker - Input System Action execution order is determined by the order of Bindings in the input.asset file instead of Actions
Fixed
ISXB-371
Input System Action execution order is determined by the order of Bindings in the input.asset file instead of Actions
Package: Input System
Open
0.2.X
Fixed
1.8.X
1.8.0
Won't Fix
1.4.X
Closing 1.4 specific port as this will be addressed in 1.8.x series
How to reproduce:
Open the attached project “IN-23357.zip“
Open the “SampleScene” Scene
Enter the Play mode
Press the “Spacebar“ key
Expected result: Input Action 2 is fired first and the Input Action 1 is fired second
Actual result: Input Action 1 is fired first and the Input Action 2 is fired second
Reproducible with: 0.2.10-preview, 1.4.4 (2020.3.43f1), 1.4.4 (2021.3.16f1, 2022.2.2f1, 2023.1.0a23)
Couldn’t test with: 0.2.8-preview and lower - due to errors in the Console window
Reproduced on: Windows 10 Enterprise
Note: The Input2 Input Actions Asset holds the actions in this order - Action 2, Action 1. Both have the “Spacebar“ key as their binding
Prioritise and Follow this issue
Have a workaround or additional info about this issue?