Go to Edit → Project Settings → Maps and Modes.
-
Under Maps and modes, look for default modes. Change the mode to your own custom game-mode that you create that has your own custom pawn class, HUD class, Player controller… etc.
-
Put a camera component in your default Pawn BluePrint.