diff --git a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs index db93b8017..2f51dd7db 100644 --- a/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs +++ b/Assets/UniGLTF/Runtime/UniGLTF/IO/gltfExporter.cs @@ -89,6 +89,8 @@ namespace UniGLTF m_settings = new GltfExportSettings(); } + if (progress != null) + m_progress = progress; m_animationExporter = animationExporter; m_materialExporter = materialExporter ?? MaterialExporterUtility.GetValidGltfMaterialExporter(); m_textureSerializer = textureSerializer ?? new RuntimeTextureSerializer();