Search Issue Tracker
Fixed in 1.1.0-preview.3
Votes
0
Found in [Package]
1.1.0-preview.2
Issue ID
1293808
Regression
No
[Input System] Action.triggered triggers only once after remapping an action to a non-trigger button
Reproduction steps:
1. Open the user's attached "ConsoleTestInputSystem" project
2. Open Assets/Scenes/TestRemap
3. Enter Play Mode
4. Press the rebind key or button (R on the Keyboard, LB on the Controller)
5. Press any new non-trigger key or button (for example A on the Keyboard, A on the Controller)
6. Press the same key as in step 5 multiple times
7. Observe the Game View
Expected result: The new key will get triggered multiple times, message "Action triggered by user" will be printed multiple times
Actual result: The new key only gets triggered once, the message "Action triggered by user" will be printed only the first time
Reproduces on: 1.1.0-preview.2 (2019.4.15f1, 2020.1.15f1, 2020.2.0b13, 2021.1.0a7)
Not reproducible: 1.0.0 (2019.4.15f1), 1.0.1, 1.1.0-preview.1 (2020.1.15f1) (different kind of behaviour, still not the expected result)
Can't test: 2018.4 (can't successfully import the project)
Tested with: Xbox One controller
Note:
- When rebinding the button to a trigger (such as LT/RT on the Controller) or an analog stick, the button triggers as expected
- In versions 1.0.0, 1.0.1 and 1.1.0-preview.1 the Action.triggered gets activated when Input's value changes
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
- [iOS] [Android] External library generics fail during IL2CPP build
- Animator State’s Multiplier field shows a Parameter that no longer exists when the Parameter was assigned and then deleted
- Shadows disappear and come back after couple frames when using OnDemand Shadows and OnDemand Reflection
- “Delete Selected Items” is still active in the menu when Label is not selected in New Sprite Library Asset window
- "View Generated Shader" button in Shader Graph Asset is not aligned with other buttons
Resolution Note (fix version 1.1.0-preview.3):
Fixed in Input System 1.1.0-preview.3 which is available in Unit 2019.4 and above
PR - https://github.com/Unity-Technologies/InputSystem/pull/1256