Auto-texture on mesh import not working

On Blender, I’m exporting a mesh in .obj format with the following settings:

The file consists of a single mesh with multiple materials. Since Roblox doesn’t support meshes with multiple materials, I export each material as a group, so when importing, each material is imported as a separate mesh.

Model in Blender:

Imported meshes by material in Studio:
Screen Shot 2020-05-22 at 2.34.11 PM

However, Roblox does not automatically apply the materials’ textures to the mesh when importing. The texture image files are located in the same directory as the mesh file.

No option to copy texture ID, which tells me texture data was not imported
Screen Shot 2020-05-22 at 2.34.20 PM

Result:
Screen Shot 2020-05-22 at 2.37.44 PM

Desired result:
Screen Shot 2020-05-22 at 2.38.28 PM

Of course, I could import the texture images separately and change the TextureId field of the MeshParts (this is how I got the desired result image), but I was hoping that the import process would do this for me to prevent excessive manual labor. At one point, one such mesh that I uploaded had its textures applied automatically, but I can’t seem to replicate that behavior anymore.

Does anyone have any tips to get Studio to automatically apply textures to this kind of mesh?

I’ve found that importing meshes with textures is so hit-and-miss that I rather just save the texture file locally and upload it directly to the site. I know it’s not faster, but at least I know it’s actually there.

However I’ve noticed I had more success (again, not 100% success rate) when I apply the texture as an Image Texture node to the Material Output node. I have no idea why though :stuck_out_tongue:


Perhaps there could be a feature request to streamline texture importing (if it’s not one already), or at least making the existing process more user friendly since I know people have multiple methods that just tend to confuse everyone.

I tried splitting the mesh in blender by material (edit mode → p → by material) and then exporting all meshes into a single file in .fbx format. It seems studio will import these meshes separately, and the textures seem to be automatically applied.

This might be my “more successful” method, I guess? :stuck_out_tongue:

The only file format that is a package import is FBX. For roblox it’s textures, vertex color, and mesh data. However for other game engines it also can include armature data and baked animations.