Closed truesteps closed 5 months ago
Can you check the network tab on the dev tools to see if there is a request that fails? Perhaps it is trying to load a texture from somewhere. Otherwise if you could make a codesandbox or something so we can see it in action it would help
@netgfx there is also this warning that pops up:
I'm working on setting up devtools :D i'm running this in react native
ah ok you should have mentioned this, react-native is quite different from web react. It seems that it is trying to fetch an asset but it can't. Have you tried with another .glb file? one that has no textures or they are in-fact embedded within?
I tried using the model in the tutorial, and it worked. Seems like there might be an issue wit the model. Thanks, i'll try and re-export it
@netgfx ended up being some sort of issue with a compressed glb output from blender. Do you know any tips or tricks as to how to optimize glb/gltf formats without it becoming unusuable? But the issue is fixed :) thanks for pointing me in the right direction
What is your question:
Heya! I'm trying to render a gltf model onto my scene, following https://www.youtube.com/watch?v=O8q8H9c9XZ4 this tutorial, but whenver I put my model into the Canvas in Suspense, I get the following error: Could not load: Property 'Image' does not exist. I'm pasting the model code below, generated by GltfJsx from a website that is linked in the videotutorial. Anyone could help me with thisone? I've been stuck on it for a while now and google unfortunately didn't help.
Also attaching screen of error:
Thx in advance.