diff --git a/Packages/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs b/Packages/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs index b18e1fc855..f2e7f00711 100644 --- a/Packages/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs +++ b/Packages/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExporter_SharedVertexBuffer.cs @@ -180,7 +180,8 @@ private static glTFMesh CreateGLTFMesh(glTFAttributes attributes, ExportingGltfD if (submeshIndices.Length == 0) { // https://github.com/vrm-c/UniVRM/issues/664 - break; + // Skip empty submesh and continue with remaining submeshes + continue; } else if (submeshIndices.Length < 3) {