diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs index 0a52c8c29..154ed16f4 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs @@ -201,7 +201,7 @@ namespace UniGLTF else if (renderer is MeshRenderer mr) { var filter = mr.GetComponent(); - if (filter != null) + if (filter.hideFlags == HideFlags.None && Mesh.vertexCount > 0 && filter != null) { Mesh = filter.sharedMesh; }