diff --git a/Runtime/Scripts/Export/GltfWriter.cs b/Runtime/Scripts/Export/GltfWriter.cs index 58fd22d1..b59cad13 100644 --- a/Runtime/Scripts/Export/GltfWriter.cs +++ b/Runtime/Scripts/Export/GltfWriter.cs @@ -888,7 +888,7 @@ async Task BakeImages(string directory) { return false; } #else - if (settings.fileConflictResolution == FileConflictResolution.Abort) { + if (m_Settings.fileConflictResolution == FileConflictResolution.Abort) { return false; } #endif @@ -1010,7 +1010,7 @@ int AddMesh([NotNull] UnityEngine.Mesh uMesh) { #if !UNITY_EDITOR if (!uMesh.isReadable) { - logger?.Error(LogCode.MeshNotReadable, uMesh.name); + m_Logger?.Error(LogCode.MeshNotReadable, uMesh.name); return -1; } #endif