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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
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