Any way to select multiple animation clips in a .FBX to change their settings in batch ?

Hello,

short version :
Any way to select multiple animation clips in a .FBX to change their import settings in batch ?

long version :
I’m (partially) moving from Legacy animation to Mecanim and I’m in need to update hundreds of animation clips’ import settings (mainly checking “Loop Time”, “Loop Pose”, and the 3 “Bake Into Pose”). I’d like to save me a few long minutes of highly error prone manipulation and I was wondering if it would have some script around to allow to edit the import settings of several selected clips at once (in the “Animations” tab when you select a .FBX file).

Thanks in advance for any head-up ! (a quick search made me feel I’m alone in that case)

Just to confirm your not alone Elliot Mitchell talks about scripts he uses when importing assets so things are set up automatically in this Unite 2013 talk.

Maybe you can reach out to him to see if he has any advice. View the video for contact information.

Sorry I can’t be of any more help.

If you find a generic import script that can be manipulated to your needs I’d love to see it up here. Us animators and artists will eventually run into a situation where a generic editable import script can be helpful.

I had a look at changing the settings on import, but it seemed it would overwrite the current settings when re-importing so it might not be a great solution… Plus not all animations need the exact same settings, so it’s a bit tricky ; it’d really require the possibility to select multiple clips in the import setting window…

This seriously can consume hours of my day.

Maybe, the solution is to make functions like Looping controlled entirely outside of that set up.

In case it helps anyone who comes here, I found this video where he shows how to edit the meta file and uses find and replace to copy the settings from one animation to all of the rest:

I also spotted a script someone made to edit them in bulk, but I’ve since lost that video.

3 Likes

There is a free asset called “Animation Processor” that might help to make edits to animation clips in bulk - Animation Processor | Animation Tools | Unity Asset Store

You can also look into creating a script to perform post-processing on the animation clip and modify the setting you want in bulk. You have to be careful though as it can modify all of the existing animation clip files in your project if you do not limit it to a specific folder/name, so I suggest you do this in a separate project and then bring those files in to your main one to be safe.

See these other forum discussions for some examples of this:

1 Like