react-three-fiber-example icon indicating copy to clipboard operation
react-three-fiber-example copied to clipboard

loading gltf objects into R3F

Open jskye opened this issue 2 years ago • 0 comments

i couldnt get the grass or rabbit gltf objects to load.

following these examples

Uncaught Could not load ./assets/grass/grass.gltf: JSON.parse: unexpected character at line 1 column 1 of the JSON data

badly formed json? related?

edit: tried another model and same problem, so models not the problem. must be the way its loading. after loading json error, browser reports the webgl context is lost.

jskye avatar Oct 17 '22 06:10 jskye