# Renaming MyCharacter causes Default Property warnings and errors

**URL:** <https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423>\
**Category:** Blueprint\
**Tags:** unreal-engine, bug-report, editor, Blueprint, CPP, question\
**Created:** [November 7, 2014, 6:03pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423 "2014-11-07T18:03:04Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![TM317](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TM317](https://forums.unrealengine.com/u/TM317)\
**Post date:** [November 7, 2014, 6:03pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/1 "2014-11-07T18:03:04Z")

</div>

1. I create a new C++ top down project(may happen on others I haven’t checked).

2. Build project and start editor

3. Rename or move “MyCharacter” blueprint.

4. Save/Compile and close and reopen editor

5. get the following error:

Default Property warnings and errors: Error: CDO Constructor: Failed to find Class’/Game/Blueprints/MyCharacter.MyCharacter\_C

I also tried changing this line in the GameMode.cpp file to reflect the change but I still get the error.  
static ConstructorHelpers::FClassFinder PlayerPawnBPClass(TEXT(“/Game/Blueprints/MyCharacter”));

I have searched for other references but I failed to find any.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [November 7, 2014, 6:56pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/2 "2014-11-07T18:56:25Z")

</div>

Hey -

Thanks for reporting this bug. I was able to reproduce this message and have submitted it to our internal tracking system (UE-5184) for further investigation.

Cheers

---

<div class="post-metadata">

**Author:** ![kishoreven](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kishoreven](https://forums.unrealengine.com/u/kishoreven)\
**Post date:** [February 21, 2015, 8:46pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/3 "2015-02-21T20:46:01Z")

</div>

Did you find a work around for this or is this issue fixed? I am actually getting that error trying to run my packaged game. I renamed my character blueprint and while I am able to run the game in PIE, i am unable to package it out and run it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [February 23, 2015, 3:47pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/4 "2015-02-23T15:47:45Z")

</div>

Hey kishoreven-

Are you receiving the same “Default Property” error when opening the project/packaged game? If so you can try changing the name of the character blueprint back to the original name and then repackage the project. If the message you are getting when trying to open the packaged game is different then it would be best to start a new post with details about your specific problem. This helps with both tracking as well as searching for separate issues in the future.

Cheers

---

<div class="post-metadata">

**Author:** ![zaha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zaha/32/947496_2.png) [@zaha](https://forums.unrealengine.com/u/zaha)\
**Post date:** [March 10, 2015, 9:50pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/5 "2015-03-10T21:50:56Z")

</div>

This happened to me as well today. Renamed a Character Blueprint, now I’m always getting this error. Is there any fix yet?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 11, 2015, 7:22pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/6 "2015-03-11T19:22:28Z")

</div>

Hey zaha-

Are you getting the error in the editor as reported or when trying to play a packaged game as kishoreven reported? Have you tried renaming the blueprint back to the original name then generate project files by right clicking on the .uproject icon in the project folder or repackage the project?

---

<div class="post-metadata">

**Author:** ![zaha](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/zaha/32/947496_2.png) [@zaha](https://forums.unrealengine.com/u/zaha)\
**Post date:** [March 11, 2015, 8:29pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/7 "2015-03-11T20:29:30Z")

</div>

Hi !  
Thanks for getting back.

I eventually fixed the error message.The problem was, I copied a reference from the Unreal Ed to my PlayerCharacter Blueprint and used it in code to set my DefaultPawnClass in the GameMode. I get `Blueprint'/Game/Blueprints/PlayerShip.PlayerShip'` when copying it in the editor context menu, but this produced the error. As I later found out, the correct way to address it is `static ConstructorHelpers::FClassFinder PlayerPawnBPClass(TEXT("Pawn'/Game/Blueprints/PlayerShip.PlayerShip_C'"));`

Not sure if this is really a bug or if I misunderstood something here. Why does “Copy Reference” give me a string that does not work in this case? (still new to UE 4 🙂 )

[EDIT] Oh and to answer your question: I got the error as reported when starting the editor.

Cheers  
zaha

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [March 12, 2015, 2:57pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/8 "2015-03-12T14:57:58Z")

</div>

Using copy reference will copy the file path to the asset (in this case the blueprint) to your clipboard. As you pointed out, using the pawn rather than the pawn’s blueprint is necessary.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_aee5288a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_aee5288a](https://forums.unrealengine.com/u/anonymous_user_aee5288a)\
**Post date:** [January 15, 2016, 9:15pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/9 "2016-01-15T21:15:22Z")

</div>

More than 1 year later, it still happens.

---

<div class="post-metadata">

**Author:** ![skyphyr](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@skyphyr](https://forums.unrealengine.com/u/skyphyr)\
**Post date:** [July 22, 2017, 10:50pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/10 "2017-07-22T22:50:22Z")

</div>

Got repro in 4.16, too.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_2b03d27c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_2b03d27c](https://forums.unrealengine.com/u/anonymous_user_2b03d27c)\
**Post date:** [July 24, 2017, 12:26pm UTC](https://forums.unrealengine.com/t/renaming-mycharacter-causes-default-property-warnings-and-errors/298423/11 "2017-07-24T12:26:05Z")

</div>

Hey -

Can you provide the steps that caused this to occur for you? The steps in the original reported issue ([Unreal Engine Issues and Bug Tracker (UE-5184)](https://issues.unrealengine.com/issue/UE-5184)) do not cause the warning to appear for me in 4.16.2.
