diff --git a/Scripts/Format/Editor/VRMVersionMenu.cs b/Scripts/Format/Editor/VRMVersionMenu.cs index df8ee0aef..fbc4c2f8d 100644 --- a/Scripts/Format/Editor/VRMVersionMenu.cs +++ b/Scripts/Format/Editor/VRMVersionMenu.cs @@ -119,7 +119,7 @@ namespace VRM } else { - f.Value(node); + f.Dump(node.Bytes); } } diff --git a/Scripts/Format/glTF_VRM_Material.cs b/Scripts/Format/glTF_VRM_Material.cs index 8a24bb7d2..a2a96a112 100644 --- a/Scripts/Format/glTF_VRM_Material.cs +++ b/Scripts/Format/glTF_VRM_Material.cs @@ -52,7 +52,7 @@ namespace VRM f.Key("vectorProperties"); f.BeginMap(); foreach (var kv in vectorProperties) { - f.Key(kv.Key); f.Value(kv.Value.ToArray()); + f.Key(kv.Key); f.Serialize(kv.Value.ToArray()); } f.EndMap(); } diff --git a/UniGLTF b/UniGLTF index 7b352bf3b..a85b9699e 160000 --- a/UniGLTF +++ b/UniGLTF @@ -1 +1 @@ -Subproject commit 7b352bf3b4406f28ecc3eea91bb14935ecd4bcc3 +Subproject commit a85b9699e76fb88e279330182ae9972062a4f5d6