오보에블로그

[UE4] Error: CDO Constructor : Failed to find 오류 해결 방법 본문

GameEngine & CG/Unreal

[UE4] Error: CDO Constructor : Failed to find 오류 해결 방법

(OBO) 2022. 3. 23. 19:48
728x90

문제 상황

  • 프로젝트 실행시 아래와 같은 로그가 뜨는 상황
  • 이는 사용하고 있는 캐릭터 블루 프린트를 다른 폴더로 이동시켰을 때 발생한다.
“Default property warning and errors: Error: CDO Constructor (SurviveGameMode): Failed to find /game/ThirdPersonCPP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C”

Before i started getting this error i had moved the ThirdPersonCharacter blueprint out of the ‘ThirdPersonCPP’ folder to another folder i had just created.

해결 방법

  • *GameMode.cpp 파일에서 변경된 pawn 클래스 파인더 함수에 적혀있는 경로로 바꾼 경로로 바꿔준다.
static ConstructorHelpers::FClassFinder<APawn> PlayerPawnClassFinder(TEXT("[해당 파일 현재 경로]"));
728x90