Adding Input Mapping Context in BeginPlay of a Pawn
If you try to add an Input Mapping Context into the EnhancedInputLocalPlayerSubsystem from the BeginPlay function in a pawn, it’s likely to not work.
The node for Get Enhanced Input Local Player Subsystem
requires the Pawn to be possessed by a Player Controller. During BeginPlay, the controller is usually not available.
Solution: Instead of using BeginPlay, add the input mapping context in OnPossessed
(Note: for player controllers its fine to use BeginPlay)