When trying to compile my code I get the error:
0>MassEnemy.generated.h(10,1): Error C1189 : #error: “MassEnemy.generated.h already included, missing ‘#pragma once’ in MassEnemy.h”
But #pragma once is there. I know this error can be caused by a bad include, but I’ve checked the includes and there’s no unused ones or reoccurring ones. Is there anything else that can cause this error?