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].
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.
it should have worked… try again maybe ?
was the class defined in a pluggin ?
try with ‘/Script/Project/’ for the oldclassName aswell, but it worked without it on my project
if you keep the old class, does the type of the variable in blueprint still good or already as a UObject ? ( maybe the problem is somewhere else )
Thanks for the quick response. In the meantime I tried this new system under Engine.ini [CoreRedirects], that I just read about, but also without success.
No plugins - I’ve got everything in a single project/module. Code is organized in folders, but if my intuition doesn’t deceive me here (in lack of technical understanding…), that shouldn’t make a difference.
I did like you said and added the “/Script/Project.” to the old class name as well and that did the trick! Thanks a lot, saved me a lot of pointless experimenting