Skip to content

loading gltf objects into R3F #2

@jskye

Description

@jskye

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions