diff --git a/Scripts/Format/glTF_VRM_Material.cs b/Scripts/Format/glTF_VRM_Material.cs index 532f5f4ae..ccc6d59fa 100644 --- a/Scripts/Format/glTF_VRM_Material.cs +++ b/Scripts/Format/glTF_VRM_Material.cs @@ -76,7 +76,12 @@ namespace VRM public static List Parse(string src) { - var json = UniJSON.JsonParser.Parse(src)["extensions"]["VRM"]["materialProperties"]; + var json = JsonParser.Parse(src)["extensions"]["VRM"]["materialProperties"]; + return Parse(json); + } + + public static List Parse(JsonNode json) + { var materials = json.DeserializeList(); var jsonItems = json.ArrayItems.ToArray(); for (int i = 0; i < materials.Count; ++i) diff --git a/UniGLTF b/UniGLTF index fb2fa4f1b..3a3ddbbb2 160000 --- a/UniGLTF +++ b/UniGLTF @@ -1 +1 @@ -Subproject commit fb2fa4f1b6f2ed39f65f5235b14a10ab1f8db3df +Subproject commit 3a3ddbbb20c27be665e8c3fbfe007ff95962be2d