Can't assign other class as a property

Hello!
I’ve come to a problem that I can’t define property.

	UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Weapon")
	ABaseMeleeWeapon* MeleeWeapon;

It’s defined in WeaponComponent of my Character.
Compiling is done without any issue. However when I try to asign this property I get no actors to choose from.
I can drag and drop my blueprint class of BaseMeleeWeapon to the scene and it appears in the list but I can’t choose it anyway

Thanks in advance

Your property is a pointer to an instance of ABaseMeleeWeapon. I think what you’re looking for is TSubclassOf<ABaseMeleeWeapon>, which is a pointer to the class itself, which you can use to create a new instance at runtime