"Consume input" doesn't work (the input still propagates everywhere)

Following up with a workaround for priorities in VR, when using OpenXR in UE5.

  • Make a superset of ALL the possible contexts that you want to load, and add them to a Player Mappable Input Config.
  • Set that Input Config in Project Settings → Plugins → OpenXR → Mappable Input Config for XR.
  • In your Pawn, set the Input Config property in Class Defaults to another Playable Mappable Input Config, only including the Input Contexts you want to start the game with.
  • At some later point, load a new context with a higher priority.

Check ShowDebug EnhancedInput to see if the correct actions are loaded.