PlayerStart spawning the wrong type of pawn

Hello,

All my code was perfectly functionning.
After some minor changes, I lauched the editor from c++(vscode).

The player start was now not able to spawn anything else then the default pawn.

When I try to possess my character pawn with auto possess, I cannot move or cast “spell”.

I look the gamemode and the tab under gamemode in map and modes.

I’m not in “simulation mode”.

I tried copying the project in another "clean project " but the player start take another pawn too :smiley:

I have no clue what to do except building the project anew manually ( I will do that )

But I m looking for ways to debug or find a way for it to not happen again.

Thanks a lot if you can help me.

(I m using Unreal 5,3,2 with visual studio 2022 ( live coding disabled))

1 Like

Hello,

I m coming back because i found the solution for my problem and it might help someone else :slight_smile:

In the gamemode generated by the starter top_down content there was an default game pawn “hardcoded” towards the place in the folder of the starter BP_TopDown_character.
I changed the place of this bp to reorganize my folder and so the default game pawn was spawn instead ( the spectator pawn ?).

And after that, there is an worldsetting option ( in windows panel), that have a game mode section that have to possibility to override the gamemode and it was enable for whatever reason so whenever i was creating another bp-gamemode it was overrode by the starter bp gamemode :smiley:

The solution used was creating a new C++ gamemode class, creating a new bp with this new gamemode class.
Then in this bp , setting the bp-character i wanted.
After that, in world settings, gamemode override => none.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.