C++ Datatables not editable from editor when using subcategories

Bug Description

C++ FTableRowBase member variables are not editable from editor if their category is a subcategory.


Code Example

(This class is a variaton of the one from here)

/** Structure that defines a level up table entry */
USTRUCT(BlueprintType)
struct FLevelUpData : public FTableRowBase
{
    GENERATED_USTRUCT_BODY()

public:

    FLevelUpData()
    : XPtoLvl(0)
    , AdditionalHP(0)
    {}

    /** The 'Name' column is the same as the XP Level */

    /** XP to get to the given level from the previous level */
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Bugged")
    int32 XPtoLvl;

    /** Extra HitPoints gained at this level */
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="LevelUp")
    int32 AdditionalHP;

    /** Icon to use for Achivement */
    UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Bugged|LevelUp")
    TAssetPtr<UTexture> AchievementIcon;
};

Steps to reproduce

  1. Create the class from the example code and hit compile
  2. Add a DataTable asset by right-clicking in the content browser and using the aforementioned struct.
  3. Add a new row. The first two member variables can be edited/set from this context. The achievement icon can not.
1 Like

Hey rYuxq-

Categories in structs is not currently supported. This is a known limitation when using custom structs to create data tables.

Cheers

1 Like