Hello, i have this error after create the FirstPersonMesh in the “FirstPersonShooter Example”.
example from here
This error comes only if i launch the game, not in editor with play.
Error: CDO Constructor: Failed to find Blueprint’/Game/Blueprints/BP_FPSCharacter2.BP_FPSCharacter2’
But this BP exists…
The copied reference is: “Blueprint’/Game/Blueprints/BP_FPSCharacter2.BP_FPSCharacter2’”
In the AFPSGameMode constructor:
// set default pawn class to our Blueprinted character
static ConstructorHelpers::FObjectFinder<UBlueprint> PlayerPawnObject( TEXT( "Blueprint'/Game/Blueprints/BP_FPSCharacter2.BP_FPSCharacter2'" ) );
if ( PlayerPawnObject.Object != NULL )
{
DefaultPawnClass = (UClass*) PlayerPawnObject.Object->GeneratedClass;
}
Play in editor works fine, but after hit ‘launch’ prints this error.
The editor show this BP in the “Scene Outliner” as active actor called “BP_FPSCharacter2_C1”.
I found some older answers; add “_C” to BP finder - but then is this BP not found in editor AND after launch.
Can anyone help me please?
Edit1:
BTW - i make the same example with UE 4.3.1 and this works fine!
Make again in 4.4 and launch failed again with same error.