There is an error on threejs release 141, “Object3d().add is undefined”.
Maybe like this:
mesh_1=new THREE.Object3D;
mesh_1.add(mesh_2);
3 Likes
I have the same error “THREE.Object3D.add: object not an instance of THREE.Object3D. undefined” as soon as I replace the three.module.js release 140 with release 141 the error occurred.
Can you show us your code so others can see where how the error occurs?
2 Likes
The error occurred with code glft.scene
I fixed it with gltf.scene.children[0]
1 Like
here is the source code