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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
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