Encountering an issue with the error message "three.min.js:2 THREE.Object3D.add: object not an instance of THREE.Object3D" when attempting to run a 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);
});