I've looked at other threads but they don't seem to be applicable to my case. Here's the class. The macros and Unreal Engine 4 related.
USTRUCT(BlueprintType)
struct FWeaponInfo
{
GENERATED_BODY()
public:
FWeaponInfo() { }
FWeaponInfo(AWeaponActor* InActor);
UPROPERTY()
TSubclassOf<AWeaponActor> Class;
UPROPERTY()
FName Name;
UPROPERTY()
FText Description;
UPROPERTY()
UTexture2D* Icon;
};
I've commented out all members including the constructor and I still get the error. This is an odd one..