Download

Failed to create UCameraComponent in 4.25

i create a firstPerson Project based on the tutorial,but something went wrong in the process of creating the camera.
First, i can’t include “Camera/CameraComponent.h” .Second,if i don’t include “Camera/CameraComponent.h”,It will prompt the use of an undefined type “UCameraComponent”.And then,if i try to use “SetupAttachment(GetCapsuleComponent())”,it prompts “UCapsuleComponent *” type of real participation “USceneComponent *” type parameter is not compatible.