Hi jblaswu,
I got the same problem on 4.12, and i got these problem in early version too… it seems GameMode class can not save properties correctly. while waiting the official fix, you can fix it by force set default values in cpp code.
-
create a c++ project
-
set PlayerControllerClass in construct function like the code below. the MyController is a Blueprint class created in editor.
AMyProject3GameMode::AMyProject3GameMode()
{
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FClassFinder PlayerPawnBPClass(TEXT("/Game/ThirdPersonCPP/Blueprints/ThirdPersonCharacter"));
if (PlayerPawnBPClass.Class != NULL)
{
DefaultPawnClass = PlayerPawnBPClass.Class;
}
static ConstructorHelpers::FClassFinder TheControllerClass(TEXT("/Game/ThirdPersonCPP/Blueprints/MyController"));
PlayerControllerClass = TheControllerClass.Class;
}
Cheers,
Omega