Can't assign camera to new created player

Hello,

I’ve got problem with my code. What I’m trying to do here is to assign camera from the scene to a new created player. I’m doing it like this:

//.h
(...)
	UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera)
	AActor* kamera;
(...)
//.cpp
(...)
	//APlayerController * rightScreen;
	for (TActorIterator<ACameraActor> Itr(GetWorld()); Itr; ++Itr)
	{
		if (Itr->GetName() == "Kameraprawa")
		{
			kamera = *Itr;
			GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Blue, kamera->GetName());
			
		}
		else
		{
			GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Blue, TEXT("Sorry, didn't found this camera"));
		}
	}
	//GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Blue, FString::Printf(TEXT("dodaje kamera graczowi z id: %d"),rightScreen->GetUniqueID()));
	UGameplayStatics::CreatePlayer(GetWorld(), 2, true)->SetViewTargetWithBlend(kamera);
	//rightScreen->SetViewTarget(kamera);
(...)

It’s compiling and I can go to editor to check, and in editor: The name of kamera is debuging so I assume it’s correctly referenced. But SetViewTargetWithBlend seems to work on new player AND the old one. The worst thing is I don’t get view from camera I selected but only a black screen on both split screens.
I’d got CreatePlayer separated from SetViewTargetWithBlend but this didn’t seem to give any effect.

Had anyone something like this, or can help with it?

Regards,

P.S.
I don’t know if this information will help but this code is in GameMode of my map, in BeginPlay event.

Bump, can anyone help?