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
- 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.2):
Fixed by https://github.com/Unity-Technologies/InputSystem/pull/1197
Fixed in Input System 1.1.0-preview.2