Recursive struct do not work

Documentation claims they are supported with forward declaration but it is not the case:

typedef struct
{
    EPropertyType MappingType;
    if (MappingType != 0xFF)
    {
        if (MappingType == EnumProperty)
        {
            Property Inner;  // ERROR
        }
        elsef if (MappingType == EPropertyType::EnumAsByteProperty)
        {
        }
        
    };
} Property <optimize=false>;

010 Editor does support recursive structs but you have to do a forward declaration by including this line before the struct declaration:

struct Property;

For example:

struct Property;
    
typedef struct
{
    ...
    Property inner;
    ...
} Property <optimize=false>;

Let us know if you can’t get it to work. Cheers!

Graeme
SweetScape Software