Download

Mesh/Blueprint character not loading in FPS Tutorial

Hiya!

So I’ve been playing around with the FPS tutorial but I’ve gotten stuck. As far as I can tell the blueprint containing my character is never loaded and instead it reverts to the default FPSCharacter.h, meaning the mesh never gets loaded into the scene. What gives? I’ve scrapped the project and reworked it from scratch twice but this does not solve the issue.

Here’s the code from the FPSGameMode constructor:


//Use Blueprint character
	static ConstructorHelpers::FObjectFinder<UBlueprint> PlayerPawnObject(TEXT("Blueprint'/Game/Blueprints/BP_FPSCharacter.BP_FPSCharacter'"));
	if (PlayerPawnObject.Object != NULL)
	{
		DefaultPawnClass = (UClass*)PlayerPawnObject.Object->GeneratedClass;
	}

Any ideas on what might be the issue?

Please post this question to the Answer Hub: https://answers.unrealengine.com/
and include a link back to this post.

Thanks!