Textures not loading on automated import

Hi,

I’m trying to import fbx models to unity project from bash script. I create a project, copy fbx to Assets/. I try with copy of the fbx model in bash and with a cs script but none of this import textures. When I open the project I can see the model, the textures, the materials, but the textures are not assigned to the materials. How can I programmatically achieve what I do when I drag and drop the fbx to unity?

Thanks.

If you are exporting there’s a .fbx option in your 3d modeling software to include media. Which will include the textures / assign them to the model without you having to do any of that.