A very simple plugin and a python script to fix up redirector in batch in Unreal Engine without the engine crashing up.
-
In your poject folder put the plugin folder in the folder called Plugins (Create the Plugins folder if it does not exist)
-
When you open your .uproject it will ask to compile the project (make sure you have VS set up properly)
-
Once the plugin is loaded you can run it from the uasset fie (blueprint widget) as shown below. All you have to do is copy the uasset file to your content folder, right click in enginge and select run widget.
-
Or it can be run as a python file from output log as shown in the image, make sure to set it to python from cmd
1.You can keep the fixup.py anywhere and run it from there.
2. Change the path shown in the fixup.py from here.
3. The path will fix up all redirectors inside that folder, including sub folder.
4. Make sure the path starts with /Game/ and is the path from inside the engine, not your windows directory.
5. Unless you have all assets loaded in cache, avoid running the script from /Game/ it will cause the engine to load up all assets, and that may take CPU resources and time.