diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs index 1835ab908..1299b1c91 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/MeshIO/MeshExportInfo.cs @@ -212,17 +212,19 @@ namespace UniGLTF } else { - throw new NotImplementedException(); + // do nothing + // TrailRenderer, ParticleSystemRenderer ... etc } - if (Mesh == null) + if (Mesh = null) { Summary = "no mesh"; } - - VertexColor = VertexColorUtility.DetectVertexColor(Mesh, Materials); - - PushRenderer(renderer); + else + { + VertexColor = VertexColorUtility.DetectVertexColor(Mesh, Materials); + PushRenderer(renderer); + } } public void PushRenderer(Renderer renderer)