Editor mode UPROPERTY for Actor

Hello,

I have an Editor Mode which I want to use to generate a map of actors (for hex map), to do that I want to select an actor from scene or (and) select a blueprint actor of node from content (if it is possible), problem is I can pick a material and some meshes (just for test) but can’t choose and actor

When I am trying to select it returns NONE but shows me the actor of type I want to select. This is the code for Editor Mode Tool

UCLASS()
class UWargameEditorObject : public UObject
{
	GENERATED_UCLASS_BODY()

public:
	FWargameEdMode* ParentMode;
	
	UPROPERTY(EditAnywhere, Category = "Settings")
	UMaterial* Material;

	UPROPERTY(EditDefaultsOnly, Category = "Settings")
	UStaticMesh* MyMesh;

	UPROPERTY(EditAnywhere, Category = "Settings")
	FComponentReference AttachEndTo;

	UPROPERTY(EditAnywhere, Category = "Settings")
	AGameSceneHexMap*	HexGridMap;

	UPROPERTY(EditAnywhere, Category = "Settings")
	AActor*	HexGridNode;

	UPROPERTY(EditAnywhere, Category = "Settings")
		float testfloat = 10;

	UPROPERTY(EditAnywhere, Category = "Settings")
		bool testbool = true;
	UPROPERTY(EditAnywhere, Category = "Settings")
		int testint = 8;
	UPROPERTY(EditAnywhere, Category = "Settings")
		FString teststring = "this is a string";

// ...
};

It looks like (found it here Spawn Blueprint from C++ - Editor Scripting - Unreal Engine Forums) I need to use

/** type of damage */
UPROPERTY(EditDefaultsOnly, Category=Settings)
TSubclassOf HexMap;

But this leads to compilation problem.