Blueprint lost link to C++ class after each restart

Hi !

The issue has been resolved in another post this afternoon.

You can find the original post here :

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:
+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
+ActiveGameNameRedirects=(OldGameName="YourProjectName",NewGameName="/Script/MyProject")
+ActiveGameNameRedirects=(OldGameName="/Script/YourProjectName",NewGameName="/Script/MyProject")

and leave only

+ActiveGameNameRedirects=(OldGameName="TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
+ActiveGameNameRedirects=(OldGameName="/Script/TP_FirstPersonBP",NewGameName="/Script/YourProjectName")
  1. Reopen Unreal. Problem solved.
1 Like