i got error three.min.js:2 THREE.Object3D.add: object not an instance of THREE.Object3D when try to run the 3D object.
const loader = new THREE.OBJLoader();
loader.load("./model/Room.obj", function (object) {
scene.add(object.scene);
console.log(object);
renderer.render(scene, camera);
});
scene.add(object);.