Foo.h:
#pragma once
#include "Foo.generated.h"
USTRUCT()
struct FFoo {
UPROPERTY()
bool bReproduces;
};
Bar.h:
# include "Foo.h"
#include "Bar.generated.h"
USTRUCT()
struct FBar {
UPROPERTY()
TArray<FFoo> Foos;
};
It might depend on the arbitrary order that Foo.h and Bar.h are processed in, so if it doesn’t repro, try moving the structs around?