Error at UCLASS() after including a H file
Hello, guy, I've just download UE4 and start playing with it, so yeh... I'm a noob for the moment. But I have an interesting problem. I've made a class Actor and in .h file, I've just added this part part of code:
And now... from some reason after I've include this file I've receive a bunch of error at UCLASS() and GENERATED_BODY()
Do you have any idea why I have this problem and how exactly I can fix it?
Here is the error message:
You should always place
Besides. The VS highlighting not friendly with this macros. It's not an error. Generated files just not actual for this moment.
answered Oct 10 '17 at 08:29 AM
You should include "xx.generated.h" at the very last.
answered Oct 10 '17 at 04:36 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here