diff --git a/Scripts/Format/VRMExporter.cs b/Scripts/Format/VRMExporter.cs index 61345c9cc..dae4700be 100644 --- a/Scripts/Format/VRMExporter.cs +++ b/Scripts/Format/VRMExporter.cs @@ -210,7 +210,7 @@ namespace VRM // materials foreach (var m in exporter.Materials) { - gltf.extensions.VRM.materialProperties.Add(glTF_VRM_Material.CreateFromMaterial(m, exporter.Textures)); + gltf.extensions.VRM.materialProperties.Add(glTF_VRM_Material.CreateFromMaterial(m, exporter.TextureManager.Textures)); } } } diff --git a/UniGLTF b/UniGLTF index b15f3df0d..9c355c91b 160000 --- a/UniGLTF +++ b/UniGLTF @@ -1 +1 @@ -Subproject commit b15f3df0d73377357406be40fb10749d96dfc71c +Subproject commit 9c355c91b9c992cf27ddab1f54913fffc1a72214