How to set a UPROPERTY default inside a bp editor?

Hello,

Is there a way of setting a UPROPERTY value inside a bp editor in the Details tab ? When I try to assign the value I want to use the output log gives me this: “LogProperty: Warning: Illegal TEXT reference to a private object in external package X from referencer X. Import failed…” and the value remains to be set to None.

This is what I have in c++:

UPROPERTY(EditAnywhere, BlueprintReadWrite)
	AActor* ActorName;

For now, I ended up using UGameplayStatics::GetAllActorsWithTag and then for looping through the array to find the specific actor and assign it inside c++.