Can't Actor in my property

Can’t add Actor in my property


UPROPERTY(VisibleAnywhere)
		AActor * PlayerToTeleport;
	UPROPERTY(EditAnywhere) //cant add actor from the scene .Even when I choose, it stays none. 
		AActor * CollisonVolume;
	UPROPERTY(EditAnywhere) //no problem
		FVector TeleportTo;

Knowing that this is not a placed blueprint .

Because you can’t specify another actor at compile time.
You have to set the Property to ExposeOnSpawn and place your Blueprint in the World. Then you are able to pick another Actor.

Then it is wrong to put PlayerTeleport Class in the Pawn?
Thanks in advance.