# Blueprint lost link to C++ class after each restart

**URL:** <https://forums.unrealengine.com/t/blueprint-lost-link-to-c-class-after-each-restart/2568363>\
**Category:** Getting Started & Setup\
**Tags:** unreal-engine, bug-report, editor, question, Blueprint, CPP\
**Created:** [June 20, 2025, 8:03pm UTC](https://forums.unrealengine.com/t/blueprint-lost-link-to-c-class-after-each-restart/2568363 "2025-06-20T20:03:03Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![SundaryTV](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SundaryTV](https://forums.unrealengine.com/u/SundaryTV)\
**Post date:** [June 23, 2025, 3:14pm UTC](https://forums.unrealengine.com/t/blueprint-lost-link-to-c-class-after-each-restart/2568363/6 "2025-06-23T15:14:16Z")

</div>

Hi !

The issue has been resolved in another post this afternoon.

You can find the original post here :

> [@I am unable to make my C++ classes survive a restart in Unreal 5.6](https://forums.unrealengine.com/t/i-am-unable-to-make-my-c-classes-survive-a-restart-in-unreal-5-6/2560725/8):
>
> I spent my whole day debugging it, and finally figured it out. Here is my solution: Find “Config/DefaultEngine.ini” in your project folder, open it. Search for “ActiveGameNameRedirects”. Hopefully you will find 4 lines: +ActiveGameNameRedirects=(OldGameName="TP\_FirstPersonBP",NewGameName="/Script/YourProjectName") +ActiveGameNameRedirects=(OldGameName="/Script/TP\_FirstPersonBP",NewGameName="/Script/YourProjectName") +ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/…

Copy - Paste of the solution provided on the other post :

1. Find “Config/DefaultEngine.ini” in your project folder, open it.
2. Search for “ActiveGameNameRedirects”. Hopefully you will find 4 lines:

```auto
+ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/MyProject")
+ActiveGameNameRedirects=(OldGameName="/Script/YourProjectName",NewGameName="/Script/MyProject")

```

1. Delete these two lines

```auto
+ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/MyProject")
+ActiveGameNameRedirects=(OldGameName="/Script/YourProjectName",NewGameName="/Script/MyProject")

```

and leave only

```auto
+ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/YourProjectName")

```

1. Reopen Unreal. Problem solved.

---

_[View the full topic](https://forums.unrealengine.com/t/blueprint-lost-link-to-c-class-after-each-restart/2568363)._
