pmndrs / gltfjsx

🎮 Turns GLTFs into JSX components
https://gltf.pmnd.rs
MIT License
4.73k stars 312 forks source link

Issue with texturized .glb files #47

Open inodino opened 3 years ago

inodino commented 3 years ago

Hi,

Im trying to load the converted scene_draco .glb file into a react-native project. Im using the unimodules+expo-gl+expo-three packages to render the model. Everything works fine as long as the .glb file doesn't contain any textures. But, when I add textures I get the following error:

Creating blobs from "ArrayBuffer" and "ArrayBufferView" are not supported

Is anyone familiar with this or knows a workaround?

Thanks

drcmda commented 3 years ago

you mean when you convert it using gltfjsx? could you attach that glb? otherwise it's an expo issue - all this tool does is creating a simple jsx graph. loading is either done by threejs loaders on the web or expos loaders on RN.