#Mobile site not rendering when using GLTFLoader

6 messages · Page 1 of 1 (latest)

high forge
#

Hey my site I'm working on doesn't load on mobile when I load a GLTF model. Whether it's displayed or not.

austere willow
#

Any error leads to not rendering, can you share any details here?

#

If the error is only happening with a specific glTF model then you could try...

npm install --global @gltf-transform/cli

gltf-transform inspect model.glb

... and then copy/paste the output here?

#

Or if the error happens with all glTF models, you may need to share your code, connect a debugger to the device, and look for errors.

high forge
#

So I just connected a debugger to the device and it renders on my PCs debugger, my phone shows it as white, and there's no errors coming from it.

high forge
#

I got it working. It was an issue with the adress I put into CORS on my AWS S3 bucket. Thanks for the help. 🙂