I’m trying to refactor some code and decided it might be a good idea to rename one of my plugins. I then quickly realized its not straight forward as every blueprint references its classes by name including the plugin name it seems.
I tried adding an active class redirect to DefaultEngine.ini in [/Script/Engine.Engine] as follows (an example) without luck:
+ActiveClassRedirects=(OldClassName=”MyPluginManager”,NewClassName=”/Script/NewPluginName.MyPluginManager”)
I’ve also tried various variations of the above. Is there an easy way to do this? or am I stuck with the old name?
;+ActiveClassRedirects=(OldClassName=“CaptureBinder”,NewClassName=“/Script/Capture.CaptureBinder”); Class moved to Plugin (Capture is the Module name, not the Plugin name)
I found out the package path by creating a new blueprint from the moved class and looking into the blueprint file with an text editor.
This format worked for me. There are so many different ways of specifying OldName and NewName that just don’t work (at least in UE5.1). Even the official docs had it wrong.