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
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
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