GENERATED_BODY() - this declaration has no storage class or type specifier

Oh man. This was it. Actually I added GENERATED_BODY() inside the class code myself. The problem wasn’t the struct but the class instead. Thanks!