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:
- Go to
\ProjectName\Config
- Open
DefaultEngine.ini
with Notepad. - If there is no
[CoreRedirects]
section, add one at the bottom - Under
[CoreRedirects]
section, add+ClassRedirects=(OldName="OldClassName",NewName="NewClassName")
- Remember to save
DefaultEngine.ini
before closing it. - Optionally delete
Binaries
andIntermediate
folders of your project - If you are using Visual Studio, regenerate VS Solution file
- 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")