Search Issue Tracker
Fixed in 0.3.0
Votes
0
Found in [Package]
0.2.6-preview
Issue ID
1140879
Regression
Yes
[UI] "Release" for Press Interaction does not trigger action
GitHub: https://github.com/Unity-Technologies/InputSystem/issues/492
Repro:
1. Download attached project "PressTest.zip"
2. Download package if needed: https://github.com/Unity-Technologies/InputSystem
3. Enter Play Mode
4. Press the 4 buttons on a gamepad or ASDF on keyboard
5. Observe output message
Actual: Release message is missing because the Input Action is never fired.
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
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
- Async method in Play Mode being aborted when calling `new System.Windows.Forms.Form`
- Animator window Eye button on click visual does not cover the whole area of the button when clicked
Resolution Note (fix version 0.3.0):
We made the behavior more consistent here. "Release" will now also fire "performed" when the button is released, and not "cancelled".
So the script code should be changed from:
_localMap.Gameplay.Release.cancelled += OnActionPerformed;
to:
_localMap.Gameplay.Release.performed += OnActionPerformed;