During the simulation there is a pawn flying.
I would like it not to be spawned if possible.
Or use the spectator pawn class instead.
Because it is using the player class.
And all actor components are running and the screen is full of error messages. (Like for example having an Invalid PlayerState.)
Also the enemy AI could detect it and try to kill it.
So he’s an annoying character that would be better if he wasn’t there.
Is there a way to make it not appear?
How can i do it?
Which class is spawned, or whether any class is spawned at all, is controlled by your GameMode.
Set up your GameMode to specify the default pawn class for the player.
Override the GameMode player creation function SpawnDefaultPawnAtTransform to make it so that you only get player controllers, and don’t immediately spawn a pawn.