Class "AController" has no member "SetupInputComponent"

  1. Try using APlayerController::SetupInputComponent() rather than Super::SetupInputComponent()
  2. Put your cursor on the line: GENERATED_BODY, and click the “hint” :Add the macro to the new C++ prompt file