- Home /
How can I ensure Unity does not rearrange the sub-mesh order of a mesh from Maya?,How can I ensure Unity does not rearrange sub-mesh order of a mesh?
having a bit of a head scratcher problem here. I have my artist's making multiple unique meshes in Maya that contain 3 materials. Each material is assigned to a sub-mesh in a specific order. This order is identical across all the meshes being created. When bringing over these meshes to Unity, we have noticed that some meshes keep their material/sub-mesh order from Maya, and some do not. It's been making code generated material swaps a nightmare. So a few questions:
What is Unity's logic when importing meshes and ordering the sub-meshes?
Is there a simple way to make sure Unity does NOT reorder the sub-meshes/material order?
Is there a way on Maya's side when exporting to make sure the sub-meshes/material order is as intended?
Any help or ideas is appreciated. Thanks!!
Your answer
Follow this Question
Related Questions
Layered Textures/Materials 0 Answers
Multiple materials for multiple submeshes 3 Answers
Do submeshes get sorted properly for transparent materials? 0 Answers
How to apply a texture to a submesh 1 Answer
Separating submeshes into unique meshes? 5 Answers