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
- Joint Gizmos for anchor and connectedAnchor do not respect their defined bodies when Swap Bodies is enabled
- Project Settings window opens up with a blank details pane when the "Configure" button is clicked in the Package Manager after installing the Cloud Diagnostics package
- [UI Builder] Viewport's gizmos for Margin and Padding disappear when dragging to modify the value and the cursor leaves the Spacing section
- "Multiplayer Center" window does not reflect changes made in "Other Packages" section
- Crash on D3DKMTOpenResource when capturing with RenderDoc while GPU Skinning is set to GPU(Batched)
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