# C++ Template of my game. New project from the template doesn't rename the Player\_BP

**URL:** <https://forums.unrealengine.com/t/c-template-of-my-game-new-project-from-the-template-doesnt-rename-the-player-bp/2111682>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine, template, question\
**Created:** [November 8, 2024, 6:03pm UTC](https://forums.unrealengine.com/t/c-template-of-my-game-new-project-from-the-template-doesnt-rename-the-player-bp/2111682 "2024-11-08T18:03:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FatariGames](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FatariGames](https://forums.unrealengine.com/u/FatariGames)\
**Post date:** [November 8, 2024, 6:03pm UTC](https://forums.unrealengine.com/t/c-template-of-my-game-new-project-from-the-template-doesnt-rename-the-player-bp/2111682/1 "2024-11-08T18:03:59Z")

</div>

As the title says, I have made a Unreal Template from my base project (ie. Just a character already set up in a basic level). I copied TemplateDefs.ini from another Template.

It all seems to work fine (ie. The template appears in list, and it runs when I create a new project from it. But I notice the Player\_BP has not been renamed (causing error in MyGameModeBase because it is searching for that BP).

I’ve tried adding to TemplateDefs.ini with lines such as:

```auto
[Template]
RenameAssetMappings=(From="Content/Player/FPSGameCharacter_BP", To="Content/Player/%PROJECTNAME%Character_BP")

```

But the actual blueprint file is never renamed automatically. Other files (such as the C++ files FpsGameGameModeBase and the FPSGameCharacter are renamed as required)

It’s important to me to figure this out if I want to use Templates because if there were lots of BPs involved it would be unacceptable having to rename them all each time we use a template.

Can anyone help with this problem? (If you need more info from me, please let me know)

Thanks
