Download

When rename C++ class/file name, how to deal with the inherited Blueprint classes?except core redirect

when rename C++ class/file name, how to deal with the inherited Blueprint classes?except core redirect

Renaming files won’t have any effect on blueprint classes.

What do you mean by “except core redirect”? Core redirects is the way to deal with class renames. If you’re concerned with redirects lingering, you can find & resave the classes until you no longer need the redirector. Similar to the fixup process for asset redirectors.

also rename the c++ parent class name

is there any way to automatically re-compile/save all .uasset files in Content dir?

also rename the c++ parent class name

If I understand what you’re saying, you don’t need anything special for that. It’s just a find & replace within whatever IDE you’re using.

is there any way to automatically re-compile/save all .uasset files in Content dir?

The only way I know to do it is to run a commandlet: CompileAllBlueprints.
Sometimes it takes me a couple rounds of removing the redirector and compiling blueprints to find them all.
I’m not really an expert with commandlets so figuring out the best way for you to run one may involve some searching. Don’t know how good the documentation of that tool is.

thanks