In gamemode blueprint you can override function/event OnRestartPlayer, which is called right after spawning pawn for each player/controller. It is a generic event for both players and AIs, so it passes a generic Controller as parameter. You should first cast to PlayerController to check that it is the player, then use Controller->GetControlledPawn to access the Pawn, then get your component from there.
1 Like