When I was trying to #include “PhysicsEngine/PhysicsHandleComponent.h” file in Grabber.h, between “Components/ActorComponent.h” and “Grabber.generated.h”, the compiler is complaining about the GENERATED_BODY(), saying that the declaration has no storage class or type specifier, and in Grabber.cpp, the Beginplay() and Super::TickComponent(DeltaTime, TickType, ThisTickFunction) are complaining that class “UObject” has no member “BeginPlay” or “TickComponent”.
even though the program will still compile fine, but could someone explain a little more of what’s going on here?