A new instance of my pawn gets generated everytime i hit play, although i changed the GameMode to the Pawn

Hi,

i built a 2D game and right now, almost everything runs inside a single Blueprint. I want to place that Blueprint into my world to play the game. The Blueprint has a Camera attached to it.

This is what the BP looks like inside the world:

And this is what my GameMode settings look like:

I also changed everything inside the settings:

Now, when I hit play, I expect to possess the Camera of my BP. Instead, a new instance of my BP is created in a different location, which I possess. I looked at the outliner when hitting play, and a PlayerStart instance, which I haven’t created, appears. I think that might be the problem. But I have no idea and I can’t find anything on the internet.

Please help.

Thank you!

You’re getting two pawns because you’re placing it in the world and defining it in the game mode. You only need one of them :slight_smile:

Hi, thank you for the response :slight_smile:

Ok I set Default Pawn to none, which solved my problem for now. Now, when i start the game, I am possessing the editor camera, not the BP Camera.

Do I have to solve that inside the blueprint, or can i solve it somewhere else?

Ok now I see that there is a new option when I click on my BP

I set the Auto Possess Player to Player 0 and now it works :slight_smile:

Thank you!

That’s right. If you use the game mode, it will spawn the player at the player start and possess it. It really depends how you want to do it.