How to use ConstructorHelpers::FObjectFinder and SpawnActor to spawn a blueprint

Unfortunately neither:

	static ConstructorHelpers::FObjectFinder<UBlueprint> Wall_X(TEXT("Blueprint'/Game/LevelPrototyping/Prototypes/BP_Wall_A.BP_Wall_A'"));
	UWorld* world = GetWorld();
	FVector spawnLocation = FVector::ZeroVector;
	FRotator spawnRotation = FRotator::ZeroRotator;
	AActor* bpActor = (AActor*)Wall_X->GeneratedClass->GetDefaultObject();
	world->SpawnActor<AActor>(bpActor, spawnLocation, spawnRotation);

Wall_X->GeneratedClass->GetDefaultObject()


and world->SpawnActor
image

and

	static ConstructorHelpers::FObjectFinder<UBlueprint> Wall_X(TEXT("Blueprint'/Game/LevelPrototyping/Prototypes/BP_Wall_A.BP_Wall_A'"));
	UWorld* world = GetWorld();
	FVector spawnLocation = FVector::ZeroVector;
	FRotator spawnRotation = FRotator::ZeroRotator;
	world->SpawnActor<AActor>(Wall_X->GeneratedClass, spawnLocation, spawnRotation);

Wall_X->GeneratedClass