GENERATED_BODY() error:"this declaration has no storage class or type specifier"
Dont, Worry Listten and follow the Steps
- Go to the UE4.C++ class in the .h file who GENERATED_BODY() error find that
- in the Header, Attach them (#include “CoreMinimal.h”) the Include But, Only .h file And use one Times
- check the cpp file who link this(.h) file and ,check whether #include “CoreMinimal.h” are contain or not if not contain No,Problem else contain #include "CoreMinimal.h remove that on cpp who link this, .h file //ok, Wright there
- Save All and press (Ctrl+Shift+B) or Build Script on Tap while prosessing ,Build Complete
"And Error will be gose and When other
promplem will Be showing,Please
Comment"