Description

Using an Input Action with two different keys will fire twice on the key release if one is held down while the other is pressed.

Steps to Reproduce

Example project attached

 

  1. Create an Action Mapping
    1. Add the keyboard key "Q"
    2. Add the keyboard key "W"
  2. Open up the level Blueprint and add the Action Mapping 
  3. Connect two Print string nodes to the Action, one on pressed the other released.
    1. The text for the print strings used were simply "Pressed" and "Released"
    2. These were then matched up accordingly to the Action Mapping
  4. Hit PIE
  5. Press and hold "Q" notice "Pressed" appears as normal
  6. Press and hold "W" notice that no print string appears as expected 
  7. Release "Q" the "Released" string appears   
  8. Now Release "W" the "Released" string appears again.

 

Expected: The 2nd Release from "W" should not activate the print string since the Press never fired the Press string.

 

Result: Release fires twice even though the pressed string did not while one key was already held down.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

4
Login to Vote

Won't Fix
ComponentUE - Gameplay - Input
Affects Versions4.184.194.20
CreatedJun 4, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue