Lecture71 - BP Game mode start is spawning a separate DefaultPawn_BP

(Unreal: 4.13.2)

This is after creating the BuildingEscapeGameMode_BP and setting that as the game mode in project->settings… (Also, the DefaultPawn_BP is the pawn selected in the “Default Pawn Class”)

The DefaultPawn_BP that I placed is in the scene (DefaultPawn_BP_5), but the pawn that is spawned is the one initially possessed: DefaultPawn_BP_C_0. I believe I’ve followed the instructions exactly, but I’m not sure how to troubleshoot this.

Any tips in preventing the spawning of that DefaultPawn_BP_C_0 would be appreciated.
Thanks,
Seth

Getting the same on 4.12.5 :frowning:

A new instance of DefaultPawn_BP is spawned at whatever the current viewport camera is instead of utilising the DefaultPawn_BP placed in the scene.
Default GameMode set to new GameMode BP and Default Pawn Class set to DefaultPawn_BP.
World Settings / GameMode Override is None

Perhaps because level is based on C++ First Person template?
Or something changed since 4.10.x that course is based on?

Of course as soon as I post, the answer begins to form.
The down-arrow next to Play has an option to Spawn Player At… and the selection is on Current Camera Location.
“Default Player Start” is disabled apparently because a Player Start instance has not been included in the scene. Adding one of these allows the option to then be selected.
Somewhere I’ve deviated from the course guide and ended up requiring this.
We add the Player Start to the level and remove any DefaultPawn_BP instances. We can then select Default Pawn Class as DefaultPawn_BP and when we Play one of these are instantiated where the Player Start was and we’re back on track…

Hope this helps Seth :slight_smile:

Thanks ederkley!

That makes sense and works.

Privacy & Terms