The Unreal Build Tool can’t handle properties like this:
UPROPERTY(EditAnywhere, Category = MapSetup)
TArray<TSubclassOf<AMapPiece>> KeyAreas;
I have been ignoring this and just using UClass*
instead. However, I have now hit this problem with an array of enums (to work around the fact that I can’t use enum bit flags):
UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = Setup)
TArray<TEnumAsByte<eExits>> ExitsList;
This generates the following error:
In MapPiece: Missing '>' in TEnumAsByte
If I remove the TEnumAsByte
it says I can’t have a raw enum.