Moving and renaming assets in Content Browser must be followed by a Fix up Redirectors in Folder op when done by hand. Is there an equivalent Python API?
According to the doc:
I should scan the ENTIRE project to fix up the PROJECT-wise redirectors whenever a renaming/moving happens. This is next to impossible considering how big the project could become. Can’t we fix the redirectors in a specified folder by scripting?
Since there is a Fix up Redirectors in Folder menu item there, isn’t there an API for this as well?
Good day everyone.
I think everybody knows what is Redirectors?
So, they appear often when you are moving or renaming your assets.
And there is a lot of issues when you want to fix them up.
This is the guide - how doing it faster.
Basically to see redirectors you have to enable “Filters->Others->Show Redirectors” in your content browser.
You can just right click on a redirector and select “Fix up” in the menu.
But also there is an option like “fix up redirectors in Folder” - it DOES NOT work.
Also, you can select multiple assets and press the Fix up button - it will do some work and will hide all redirectors, but will not fix them up. When you will restart Editor they will return back. Also
So today I spent about 3 hours fixing them 1 by 1.
When i became tired, i decided to create a script.
In windows everything is documented in the link above.
But i am working on mac os.