Skip to content

Instantly share code, notes, and snippets.

@coderespawn
Created November 24, 2019 17:09
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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")
@arashiscoding
Copy link

Thanks for sharing. It helped A LOT!

@elizeon
Copy link

elizeon commented Aug 7, 2023

Saved me, thank you so much. Was trying move some enums from the default project module to a plugin, and I can finally open blueprints without crashes now.

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