InstancedBuffers not working with cloned mesh

This PG of Blender icosphere instances works with instanced buffers:
https://www.babylonjs-playground.com/#YPABS1#73

This one does not because I’m cloning the icosphere:
https://www.babylonjs-playground.com/#YPABS1#74

I wonder if this is because the model is from an older version of blender / exporter.

Same issue with latest version of blender / exporter:

https://www.babylonjs-playground.com/#YPABS1#76

You will need to call box.makeGeometryUnique() before being able to create instances from a cloned mesh:

https://www.babylonjs-playground.com/#YPABS1#77

1 Like