Not fully importing all materials from blender

Godot Version

4.3

Question

I’m currently trying to import a model with a large number of materials. The model was made in blender and has a large number of test materials attached to it. When this model is imported into Blender only some of these materials are imported. I’ve already tried this with GLTF and got the same result. Which is not surprising given Godot is already converting blends to GLTF behind the scenes. Is there some limit to the amount of materials? I don’t see why this isn’t working.
This is what it looks like in Blender:

This is what it looks like in Godot

The only time I use multiple materials for a mesh is when I assign some vertices to another material.

I’m checking to see if I can use models I’ve already made with multiple materials in them. Idk about your workflow but more than 9 materials for a model is not crazy.

Hi asdfa,

Regarding your question about the limit on the number of materials: Yes, Godot supports up to 256 materials per mesh or UV map. So exceeding this is not likely the issue.

What you’re encountering is more likely a material assignment issue in Blender. Ensure that each material:

  • Is uniquely named.
  • Is properly assigned to specific parts of the mesh in Blender.

Note that Blender does not include unassigned materials when exporting, which could explain why some materials are missing in Godot. Double-check your material assignments and try exporting again.

Screenshot of test mesh with 256 materials on one mesh (exported as glb).

1 Like