react-three-fiber-example
react-three-fiber-example copied to clipboard
loading gltf objects into R3F
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.