TSoftObjectPtr works in blueprint struct, but not c++

I’ve declared a basic class, which blueprints are derived from. I had a blueprint struct which has a Soft Class reference variable, which makes it so those subclasses can be selected in dropdown, like this:

Trying to reimplement this in c++, I compile fine but the classes do not appear in the dropdown of a data table derived from the new c++ struct:

USTRUCT(BlueprintType)
struct FActionsCommonData: public FTableRowBase
{
	GENERATED_USTRUCT_BODY()
	
	UPROPERTY(EditAnywhere, BlueprintReadWrite)
	TSoftClassPtr<UAction> ActionSubclass;

Have I done anything wrong?

I have been using Live Coding, and perhaps this is a limitation of that, as after rebooting the editor, it is working as expected.