Announcement

Collapse
No announcement yet.

4.6 upgrade GENERATED_BODY causes duplicate body error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    4.6 upgrade GENERATED_BODY causes duplicate body error

    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?

    #2
    you need also the default constructor in your header file

    public:
    AMyClass(const FObjectInitializer& ObjInit);
    Website [ LINK ]
    Twitter [ LINK ]
    Support ! [ LINK ]

    Comment

    Working...
    X