Skip to content

Instantly share code, notes, and snippets.

@coderespawn
Created November 24, 2019 17:09
Show Gist options
  • Save coderespawn/1c5f4fca49d2817fa93d3c51152e68cb to your computer and use it in GitHub Desktop.
Save coderespawn/1c5f4fca49d2817fa93d3c51152e68cb to your computer and use it in GitHub Desktop.
Renaming a UE4 plugin without breaking stuff. add this to your plugin's Config/DefaultPLUGINNAME.ini
[/Script/Engine.Engine]
[CoreRedirects]
+ClassRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+EnumRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+FunctionRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+StructRedirects=(MatchSubstring=True,OldName="/Script/OldPluginRuntime",NewName="/Script/NewPluginRuntime")
+ClassRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
+EnumRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
+FunctionRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
+StructRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
+PackageRedirects=(MatchSubstring=True,OldName="/OldPlugin",NewName="/NewPlugin")
@gls-fergius
Copy link

gls-fergius commented Nov 21, 2024

Thanks for sharing.

You can also check out the article by the team that faced this problem to develop a demo version of the GLS plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment