When I set a cpp game mode as Default GameMode, i can't set Default pawn class, but a blueprint game mode can. why..
I create a cpp third-person project, i create a new cpp character class, and i want to set it as my default pawn class. And then i find when the Default GameMode is the cpp game mode class, i can not set the default pawn class with my new character class. So i try to create a blueprint game mode class inherit from the cpp game mode. When i choose the blueprint one as my Default GameMode, i find that i can set the default pawn class with any character class. So, could anyone help me to figure it out why it could be this.Thanks!
Because that is a shortcut to editing the currently selected blueprint. The c++ settings cannot be modified in the UE4 editor.
An easy workaround is to create a Game Mode Blueprint, and under Event Graph->Class Settings change the parent class to your c++ file. This will allow you to use both the C++ GameMode but also the blueprint dropdown boxes.
answered Aug 08 '18 at 07:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here