After spending quite a few hours i found out that it doesn’t seems to have anything with the SDK. I have been trying out reverting and it works fine on a commit before last night where i did a few changes and created a c++ AActor and a UPhysicalMaterial.
The weird thing is that any class i create after adding those 2 classes starts giving me that error. I delete the newly created class and it compiles again. I even tried reverting back to the working version (without the AActor and a UPhysicalMaterial), created 1 empty aactor and it compiled, created a pawn and it compiled…created another pawn and again…the same error… i HIGHLY doubt UE has any type of limitation for c++ classes, that would be really absurd.