Hello all. So I’m trying to spawn an actor when players join and it works except every time I shut down the editor and try to relaunch it hangs initializing at 70%. If I comment out the following line and rebuild it launches and then I can put it back and play, but have to comment/rebuild every time to get it to launch:
ACGameMode::ACGameMode(const class FObjectInitializer& PCIP) : Super(PCIP) {
//static ConstructorHelpers::FObjectFinder<UBlueprint> PutNameHere(TEXT("Blueprint'/Game/ThirdPersonBP/Blueprints/CThirdPersonCharacter.CThirdPersonCharacter'"));
//static ConstructorHelpers::FClassFinder<UBlueprint> PutNameHere(TEXT("Blueprint'/Game/ThirdPersonBP/Blueprints/CThirdPersonCharacter.CThirdPersonCharacter'"));
static ConstructorHelpers::FObjectFinder<UClass> bpClassFinder(TEXT("Class'/Game/ThirdPersonBP/Blueprints/CThirdPersonCharacter.CThirdPersonCharacter_C'"));
You’ll notice I tried 3 different ways to do this.