[SOLVED] Remove embedded textures from animation FBX files

Hi,

The standard Characters package…
2292726--154219--upload_2015-9-12_18-34-48.png

…comes with a bunch of animation files…
2292726--154220--upload_2015-9-12_18-35-22.png

I would like these animation files without embedded textures as I need to store them on github that has a fair use limit at about 1GB. The animation files currently take up 13MB which is not much by itself, but looking at the big picture and the fact that I do not use the embedded textures it is simply just a waste of space.

Could someone spare a few minutes and load them into a 3D application and export versions that does not have the embedded textures? I would do it myself, but as Lightwave and Blender does not load these animation files without issues I am unable to do it.

Thank you in advance.

Best regards,
Robin

Hi !

Go to your import asset screen. Import the third person controller. Uncheck everything you don’t need. Browse to the directory they were unpacked. Delete every “.meta” file. Copy every “.fbx” file to your local Git clone. Commit and push.

Done !

You’re welcome,
Mathieu

@MattGen , how does that remove the embedded textures from the FBX files?

@robin-theilade Where do you see textures ? I tried to find them using various methods, even with the incredible photorec tool, and I don’t find any textures in these .fbx files !

@MattGen , this is how i know the FBX contains texture.

  1. Copy one of the animations to an empty Unity project
  2. Select the animation file inside Unity
  3. Select “Humanoid” in the “Rig” tab and click Apply
  4. In the “Animations” tab make sure the preview is visible
  5. Here you can see that the model is indeed textured

(I like the purpose of your github repo, so I starred and watched)
This is the preview model, I think he’s in the engine, not in the fbx files. Import a fbx file with no textures or model, only animated bones, and this little preview guy will show up !

@MattGen , thanks for starring and watching.

I thought about it being Unity that adds the preview guy. But then I decided that it wasn’t due to this animation file showing without texture. Your assumption let me to look for another FBX animation file by Unity which I remebered as not having a model. “Mecanim Example Scenes” from the asset store has quite a few of those. It turns out it is Unity that adds the preview guy when there is no model.

Thanks for the help.

You’re welcome :wink: