Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading a GLB file with external texture #102

Open
cyaiox opened this issue Nov 8, 2023 · 0 comments
Open

Error loading a GLB file with external texture #102

cyaiox opened this issue Nov 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@cyaiox
Copy link
Contributor

cyaiox commented Nov 8, 2023

When loading a GLB using an external texture that is not present, the render method fails with an error like this one:

2.16d4c2fe.chunk.js:2 Uncaught (in promise) LoadFileError: /images/0/uri: Failed to load 'Floor_Grass01.png.png': 0 
    at t [as constructor] (2.16d4c2fe.chunk.js:2:2676024)
    at new t (2.16d4c2fe.chunk.js:2:2676228)
    at 2.16d4c2fe.chunk.js:2:4001910
    at 2.16d4c2fe.chunk.js:2:2679270
    at XMLHttpRequest.r (2.16d4c2fe.chunk.js:2:2680421)
wearable-preview.decentraland.org/:1 Uncaught SyntaxError: Unexpected token 'g', "glTF����t�"... is not valid JSON
    at JSON.parse (<anonymous>)
    at e._parseJson (2.16d4c2fe.chunk.js:2:3930850)
    at 2.16d4c2fe.chunk.js:2:3925239
    at XMLHttpRequest.r (2.16d4c2fe.chunk.js:2:2680142)

Sample File

@cyaiox cyaiox added the bug Something isn't working label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant