Hello I’m getting this error after converting the model to instances using this code
npx gltfjsx mymodel.glb --transform --instanceall
Any idea why this error??
I’m calling the instances and model like this.
Hello I’m getting this error after converting the model to instances using this code
npx gltfjsx mymodel.glb --transform --instanceall
Any idea why this error??
I’m calling the instances and model like this.
Hard to say from just screenshots of the code, but is Model an actual mesh?
Afaik You can’t instance complex hierarchies… the instanced object has to be a THREE.Mesh and nothing else… It can’t have children, or be of a different type than mesh.
I got the solution. I had changed the path of the model so it was showing the error.
Thank you for the help