This is because the RebuildControlMappings function only checks this flag when you have a mapping that was already added, we should apply this for any new mappings as well. 

I'll update the repro steps with an easy case in L.yra while working on the fix

Steps to Reproduce

if I have a digital input action that maps to a key, if I hold the key down BEFORE adding any input context that uses said key, once the input context is added, all input actions involving said key will immediately trigger, even if I have bIgnoreAllPressedKeysUntilRelease set to true in the options parameter


  1. Create a boolean (Digital) Input Action 
  2. Create an Input Mapping Context with that action bound to M
  3. Add a debug key mapping to your BP character to add that mapping context when you press the debug key
  4. Add a listener to the Input Action with print strings on Triggered
  5. PIE
  6. Press and hold M
  7. Press your debug key

Expected Result: The event does not trigger until you release M, and press it again. 

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-156910 in the post.

Login to Vote

ComponentUE - Gameplay - Input
Affects Versions5.05.1
Target Fix5.3
Fix Commit25341500
Main Commit25343918
CreatedJun 16, 2022
ResolvedMay 4, 2023
UpdatedMay 23, 2023