FBX import seems to be ignoring material names and using texture file names as material names.

I’m importing from an FBX with an assigned material name, but Unity seems to be using the name of the texture image filename as the material name. On the left is the dump of the FBX file, on the right is the inspector for the mesh. The name of the texture image is ‘longthinstone.png’ and Unity is calling the texture ‘longthinstone’ instead of the name of the material, ‘StoneConnectorBlue’. Is this behavior the norm or are there options to control it? This is Unity 4.7.2

thanks
John Mott
Meshola.com

The default behavior is that unity will use the name of the main / diffuse texture that is assigned to that material for naming the material.
You can change it in the Model importer (just click on the model)
There is a field called “Material Naming” that you can set to “From Model’s material”.
Then apply the changes.

1 Like

Perfect! Thank you!

John