I’m migrating blueprint with C++ parent class X from Project1 to Project2 wich also has this class X.
In Editor in Project2 when I trying to edit blueprint I getting this message:
Blueprint could not be loaded because
it derives from an invalid class.
Check to make sure the parent class
for this blueprint hasn’t been
removed!
Hint in content manager says its parent class is None.
I exported blueprint from Project1 as T3D file and got the problem:
Blueprint nodes in textual representation referencing Project1 name like:
This is an issue we’ve seen before. The problem is that the blueprint is still seeing the class from Project1 as the parent (even if the class is migrated with the asset). This has been reported as UE-21307 for investigation however I’m not aware of any workaround other than copying the base class and recreating the blueprint.
Hey, I’ve currently run into this problem and don’t have the time to go through on of my blueprints and fill in all the information again as it was a whole HUD class.
I was wondering if the fix someone put here would work as I can’t seem to get it to, and what method you used to rename your first project to the name of the second one?
I’m using version 4.12.5 but I cant seem to migrate blueprints with c++ parents. I have already tried
+ActiveGameNameRedirects=(OldGameName=“Project1”,NewGameName=“/Script/Project2”) +ActiveGameNameRedirects=(OldGameName=“/Script/Project1”,NewGameName=“/Script/Project2”)
But it still say’s it cant find asset /Script/OLDNAME
I have not tried MorskoyZmey’s workaround, however I did notice that in his post he refers to “Class” where your snippet refer to “Game”. If you are using his method, it may be the difference in syntax that is an issue.
oh sorry that was part of it but even when i use class, i still can’t open the blueprint =/ when i hover over it still says parent none
Do I have to do this before I import the blueprints, is there an order in which certain steps need to be done… I’ve followed multiple answers but I still can’t port my blueprints with c++ parents
Judging by the link provided by Pots4, it appears that this needs to go into the DefaultEngine.ini of the target project under the [/Script/Engine.Engine] heading. This would need to be done before attempting to migrate the blueprints over so that the redirects.
Again, this method is just a workaround. The related bug for this issue (UE-28639) is still unresolved and there is not yet a time frame of when a fix for this will be implemented.
Hi thank you very much for responding… So I created a fresh project and re-did everything. Used only this line to accomplish it. Not sure what happen to the previous project as it really did feel like i followed the exact steps. I’ll list down the steps in order so that it may help others in the future. Maybe the only difference was using a blueprint project instead of a C++ one… But I’m not too sure as I did it multiple times =D
Hi @aolobo … I have the same problem … I can’t migrate my BP class with the parent class, I am getting the same message
I tried what you mentioned here, but it didn’t work, maybe I missed something, can you explain a bit more please what you did exactly.