Search Issue Tracker
Fixed in 1.1.0-preview.2
Votes
5
Found in [Package]
1.0.0-preview.5
Issue ID
1239551
Regression
Yes
[Input System]Hold Interaction makes an Input Action unresponsive when 2 or more binding are attached to the same Input Action
How to reproduce:
1. Open the attached "1239551 repro" project
2. Open the "TestScene" from the Assets folder
3. Enter Play Mode
4. Hold Space key until a "Hold" Debug.Log message appears in the Console window
5. Hold the Space key for a second
Expected result: another "Hold" Debug.Log message appears in the Console window
Actual result: the "Hold" message doesn't appear in the Console window
Reproducible with: 1.0.0-preview.5 (2020.1.0b8), 1.0.0 (2020.2.0a10)
Not reproducible with: 0.2.10-preview (2019.3.14f1), 0.9.6-preview (2020.1.0b8), 1.0.0-preview.4 (2020.1.0b8)
Could not test with: 0.1.2-preview (2019.3.14f1, project errors)
Notes:
-Tap Interaction prints out "Tap" every single press until a single Hold Interaction is performed
-This doesn't reproduce if the extra bindings aren't actually present, for example, if the extra binding is on a gamepad but the gamepad isn't connected, the bug will not reproduce
-If the S [Keyboard] binding is removed, the bug will not reproduce
-
benthroop
Sep 03, 2021 18:01
I encountered this simply as "Hold interaction only fires once", and updating to preview 1.1.0p6 (didn't try p2) fixed it.
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
- Increased Memory usage when Update Mode 'On Demand' Realtime lights are used and DX12 API is selected
- Shader warnings in URP ShaderGraph when using the Normal From Texture node
- 'Stack overflow' error logged in the Console when a script that has a lot of classes is compiled
- Memory Leak warnings are thrown when creating a new material
- The type selector in the UI Builder does not display primitive types when trying to select one in the "Select Type…" window
Resolution Note (fix version 1.1.0-preview.2):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1197
Fixed in Input System 1.1.0-preview.2