Import FBX meshes with embedded textures into Unity

Recently I struggled a lot with importing FBX meshes with embedded textures into Unity. There are several problems:

  • Unity does not refresh the Project Browser when an embedded texture was imported
  • Unity does not assign the texture to its corresponding material

It is not a problem to manually refresh the Project Browser and then assign the texture to the material for a one imported mesh but if have to import a lot of them this becomes very frustrating.

Just put the following editor script into an Editor-folder in your Project Browser:

This script assumes that the material name is the same as the file name post-fixed with _material.

Happy importing!