How to change parent class of blueprint asset?

Hey guys,
If someone needs to change the Parent of Blueprint without opening the Blueprint in the Editor itself, there is a way to do that.

So I also had a similar issue: I renamed the C++ Classes in my project and that caused a data loss. Then I was unable to open derived Blueprints inside of Editor. I tried to follow the Tiantian_Xie’s solusion but it didn’t really worked for me. Though it helped me with finding an answer (much thanks Tiantian_Xie!)

The Core Redirects is what you need to follow in this case:

  1. Go to \ProjectName\Config
  2. Open DefaultEngine.ini with Notepad.
  3. If there is no [CoreRedirects] section, add one at the bottom
  4. Under [CoreRedirects] section, add +ClassRedirects=(OldName="OldClassName",NewName="NewClassName")
  5. Remember to save DefaultEngine.ini before closing it.
  6. Optionally delete Binaries and Intermediate folders of your project
  7. If you are using Visual Studio, regenerate VS Solution file
  8. Recomile / Open Editor

For me it works just fine. Though I still had to fix some stuff inside of blueprints due to heavy refactor.

My Config\DefaultEngine.ini for example:

[CoreRedirects]
+ClassRedirects=(OldName="PropBase",NewName="PPHPropBase")
+ClassRedirects=(OldName="PPH_GameModeBase",NewName="PPHGameModeBase")
+ClassRedirects=(OldName="PlayerCharacterBase",NewName="PPHCharacterBase")
4 Likes