Renaming C++ Class
I have this UObject derived C++ class UMyClass that I have to rename. The problem is that I'm referencing it many times in Blueprints, GUI widgets to be precise. Without redirecting to the new class, I will have to spend hours to fix all the errors and replace nodes and variable types. I googled the problem and learned that there should be a solution that requires me to edit the DefaultEngine.ini under [/Script/Engine.Engine].
+ActiveClassRedirects=(OldClassName=”My Class”,NewClassName=”My New Class”)
Nothing works. Everytime I restart the editor (I'm not saving the widget classes ofc), a variable that used to be of type UMyClass becomes UObject, not UMyNewClass. I also tried both keeping and removing the old class before starting.
What am I doing wrong?
To validate the answer for futur users looking for this ( and close the question )
the solution was : +ActiveClassRedirects=(OldClassName=”/Script/Project.MyClass”,NewClassName=”/Script/Project.MyNewClass”)
answered Feb 08 '18 at 08:21 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here