I did the update from 4.5 to 4.6 and changed GENERATED_UCLASS_BODY to GENERATED_BODY in the class declarations. Now I get a ‘already has a body’ error when compiling. What else needs to be changed to get rid of this error?
you need also the default constructor in your header file
AMyClass(const FObjectInitializer& ObjInit);