pmndrs / gltfjsx

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

Instancing not working #178

Open yondr-agency-15 opened 1 year ago

yondr-agency-15 commented 1 year ago

I Keep getting issues when enabling instancing and the exporter uses instance.MYOBJECT:

Uncaught TypeError: Cannot read properties of undefined (reading 'length')

 <Merged meshes={instances} {...props}>
      {(models) => <Model instances={models} />}
 </Merged>

image

donmccurdy commented 1 year ago

What's your three.js version, and can you share details that allow others to reproduce the issue?