Hi,
i’m using 2 meshes with multiple submeshes. each of them has a material. the material is a color material or a texture material. when i load my model from PHP again i first have to clear one of the two meshes. so i clear all the materials of the mesh and the submeshes and the mesh itself. if i dont do this i have a memoryleak.
the problem is: if one of the materials is a texture material all texture materials of the other mesh are disposed two and only the texture materials, not the color materials.