Subclasses not showing up as valid options in data asset dropdown

Context:
I have 2 Data Assets that are related in the following way:

  • UCardAttribute is a UdataAsset that currently doesn’t contain anything.
    image

  • UMCCard is a UDataAsset that contains a TMap<TSubclassOf, int32>.
    image

Problem
Now, what I assumed this would allow me to do is create dataAssets within the editor of type UCardAttribute and then select/add them to a UMMCard.


However, I don’t see them as valid options in the dropdown menu.

Does anyone know what am I doing wrong here/don’t understand about either UDataAssets and/or TSubclassof?

Had the same issue, for anyone in the future use “TArray<class UCardAttribute*>” instead.

From my understanding using subclass of is asking for a child class of the main data asset which doesnt exist. Instead class UWhatever* is looking for any actual created instances or objects of that class.