Steps to Reproduce
Speculating on reproduction steps as I haven’t set up a pure test case.
Create 2 pawns with the enhanced input set-up on them.
Have Pawn 1 set up with some logic to change the players possessed pawn to Pawn 2 when a binary input (B) has been held for a short amount of time.
Have Pawn 2 set up to debug print ( or do _something_ ) when the same input (B) is pressed.
In our case, this is 2 separate input actions ( one for press and one for hold ) but both mapped to the same buttons.
In our case the input actions are set up in 2 different Input Mapping Contexts. When the possession changes we remove the IMC with the input configured for Pawn 1, and push the IMC with the input configured for Pawn 2.
Ensure that when the IMC’s are being pushed the ‘bIgnoreAllPressedKeysUntilReleaseOnRebuild’ is set to true.
Ensure the input is set up as a binary input.
If you now hold the input (B) while possessing Pawn 1 to trigger the logic to possess Pawn 2, at the point Pawn 2 is possessed the input action linked to input (B) will trigger, and debug print.
This is not the desired behavior, as the (B) input should need to be released and then depressed again to trigger this input action.