Download

Find PawnBP in GameMode Class

I am trying to find my blueprint in my gamemode class:



// Fill out your copyright notice in the Description page of Project Settings.

#include "UpARiver2.h"
#include "UpARiver2GameMode.h"
#include "Rome.h"

AUpARiver2GameMode::AUpARiver2GameMode()
{
	//set default pawn class to our Blueprinted character
	static ConstructorHelpers::FClassFinder<APawn> PlayerPawnBPClass(TEXT("Blueprint'/Game/Rome/RomeBP.RomeBP'"));
	if (PlayerPawnBPClass.Class != NULL)
		{
			DefaultPawnClass = PlayerPawnBPClass.Class;
		}
}






Even though I have right click get reference and the right directory, it still says bp not found. Any ideas?