- Home /
How to import .fbx with materials and textures in specific folder?
When we import a new .fbx from 3ds in Unity, Unity creates a folder with .fbm extension (e.g. Model.fbm) containing the textures of the model and Unity also creates a folder called Materials containing the materials of the model set with the textures.
The problem is that when we import multiple models in the project, the Materials folder accumulates the materials from all models in the same folder. That can quickly become a mess and its hard to know what goes where or which files are unused when removing models.
So what we started to do is after importing a model we manually move the materials in its respective .fbm texture folder. Is there a way to automatically do that?
Answer by OllyNicholson · Sep 30, 2014 at 01:42 PM
Hi - yes you need to uncheck 'embed textures' from the FBX exporter dialogue, and repath your textures into a \textures directory in your Unity project first - nested where you export the model to, before export. Also make sure you have 'Material Name' 'from Model's Material' set for your imported file in the inspector, there is more info available on these pages:
http://forum.unity3d.com/threads/material-texture-faq.244786/ http://docs.unity3d.com/Manual/FBXImporter-Model.html
You may find it easier to delete all the materials \ folder in your project first so you don't have to do a complex clean up of duplicates from before.