Changing source file path on multiple ue assets

I am re-organizing directory structure on source contents(fbx files). The problem is, it breaks reference path(Source File) on ue assets. For example, an animation sequence “Idle” was in “Character/Animations/Idle” folder. Now I moved it to “Characters/Animation/Navigation/Idle”. Then when you re-import the ue asset, it can’t find the path since the source fbx file was moved to the new folder. There is an option where you can set source file path, but it is not realistic to go through thousands of ue assets and updating one by one manually.

My questions is, is there any way to batch update source file path on multiple ue assets?


1 Like

I would like to know that as well…anyone?

1 Like

Just commenting because I’d like to know this as well. As I’m working on two different computers and transferring assets between them. It would be handy to change the asset source locations on mass.

1 Like

Any updates on this? I need to do the exact same thing with hundreds of audio files.

1 Like

I posted the example code here. I change the source file path of texture assets.

1 Like

We need this too. There doesn’t seem to be a solution to this as of now.

drag in the fbx’s with the same name into the content browser. It will prompt to re import, but this time with the updated source path.

We had a similar challenge with updating a lot of pose assets. We created a utility widget and updated the source path for each item. You could probably make something similar and just feed in your new source path. ( credit: this widget created by Ray Arnett)

Sorry to necro this topic but rather than yet another “I have this problem too” reply, I think I have an actual solution. Create an editor utility blueprint, of the style Asset Action Utility. Then paste the code into it from here : Change source paths of selected assets (a blueprint editor utility script) posted by englishdutchman | blueprintUE | PasteBin For Unreal Engine Note that you’ll need to create two string variables in the main function. Compile it then select a bunch of assets and in the right-click menu you should find (in scripted actions) a new action called [CL] universal path remapper. Select it, enter the part of the path you want to change from and to and it ought to remap all those source paths. For example ‘from’ might be ‘/project1/car/’ and ‘to’ might be ‘/project2/carB/’. Experiment with caution - I’ve used this on about 2000 files in my own project and not seen any weird side effects - mostly TIF texture and FBX mesh imports.