ExportMesh with correct type of material + try catch