Hello, I have a character class in a plugin and use it as parentclass for blueprint, i want to load the blueprint as
default pawn in gamemode but the constructor seems to be to early.
ACharacterSystemGameModeBase::ACharacterSystemGameModeBase()
{
//static ConstructorHelpers::FClassFinder<APawn> PlayerPawnObject(TEXT("/Game/CustomeCharacter"));
//if (PlayerPawnObject.Class != NULL)
// DefaultPawnClass = PlayerPawnObject.Class;
}
This only works if i uncomment it when engine is running and hit compile script.
How i can load it later?
Greetings