ousttrue / UniGLTF

glTF 2.0 importer and exporter for Unity 5.6 or later
MIT License
284 stars 63 forks source link

Parsing of GLTF json string not working #69

Open oligraphics opened 5 years ago

oligraphics commented 5 years ago

var storage = new SimpleStorage(); context.ParseJson(json, storage); context.Load(); Throws "Value cannot be null." This works though: var path = Application.dataPath + "/temp.gltf";File.WriteAllText(path, json); context.Load(path); Using the exact same GLTF json string.

What's up here?