I am trying to use urdf-loader in Next js 14.2.3 but its not working
useEffect(() => { const loadRobot = async () => { useLoader(URDFLoader, filepath, (loader) => { loader.loadMeshCb = (path, manager, done) => { new STLLoader(manager).load( path, (result) => { console.log(result); }, null, (err) => done(null, err) ); }; loader.fetchOptions = { headers: { Accept: “application/vnd.github.v3.raw” } }; }); }; loadRobot().catch(console.error); }, []); I have tried SSR […]