Default Property Warning

You can fix the error by removing all references that point to “ThirdPersonCharacter”.

I would suggest starting a new ThirdPerson template and doing a Reference View for “ThirdPersonCharacter” to see where it is being used and clear those reference points in your own project.

Thanks for the replies but whatever I did, i cant seem to find out how to fix it. Im going to create a new project and copy over my main classes that I need

When launching my game I get a message on screen saying the following “Default property warning and errors: Error: CDO Constructor (SurviveGameMode): Failed to find /game/ThirdPersonCPP/Blueprints/ThirdPersonCharacter.ThirdPersonCharacter_C”

When creating my project I used the third person example but then removed it because I wanted to start from scratch. After a lot of development it seems to now cause an error. Anyone able to help?

Error only shows on standalone and when it is ran after packaging the game. It still allows you to play but it is annoying seeing the message box come up with it

1 Like

Thank you, will try this.

It still seems that I have this issue even after replacing the references

I would also look in the project’s content folder in Windows Explorer to see if the file is still floating around in there. Sometimes the file can be found in the project folder view but not in the project itself after trying to delete it. If you do find it, delete it from there and then run a “Fix up Redirectors” on the Content folder in the Content Browser by right clicking it in the hierarchy.

The file is not in content browser, message still shows up

Did you try the “Fix up Redirectors”? If not, give that a shot.

Yes I tried it. Is there any logs I can find that may be able to assist myself or you guys?

If it helps it was a c++ template that I removed so that I could have a blueprint template of the third person example

In this situation I’d have to refer back to MajinSephiroth’s initial answer. Create a duplicate of the project and use the reference viewer to find whats lingering behind in one of the c++ classes

I may have found a solution. I had the exact same problem. Whenever i opened UE4 i got the error :-

“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.

To fix the error i opened TP_ThirdPersonGameMode.cpp and edited the following line in the contructor. :-

static ConstructorHelpers::FClassFinder PlayerPawnBPClass(TEXT("/Game/YOURNEWFOLDERNAMEHERE/ThirdPersonCharacter"));

2 Likes

It works for me.Thanks!

It works for me too.Thanks!

It works for me too. Thanks!

Thank you! This worked for me as well.

I renamed and moved the character to a new folder after I had created a new GameMode blueprint which used this original 3rd person character as its starting pawn.

Thank you!

I am getting the same error when I am trying to access a Widget via C++ function. The widget is built in the same Folder, where it is now.

UE 5.0.3

I am getting the same issue, but doing reference viewer finds nothing referencing the file that I deleted. Explorer shows no signs of the folder path that the error message displays. It’s definitely fully deleted. There is External Actors and External Objects folders but I doubt that’s it.