Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Parsing of GLTF json string not working #69

Open
oligraphics opened this issue Mar 18, 2019 · 0 comments
Open

Parsing of GLTF json string not working #69

oligraphics opened this issue Mar 18, 2019 · 0 comments

Comments

@oligraphics
Copy link

oligraphics commented Mar 18, 2019

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?

@oligraphics oligraphics changed the title Import of GLTF string not working Parsing of GLTF json string not working Mar 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant