You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever we unmount the TresCanvas on route change, for example, we are recursively disposing and deleting scene references. This seems to interfere with Helper's own disposal cycle.
chunk-TMRGR37B.js?v=d91265db:20290 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'dispose')
at DirectionalLightHelper.dispose (chunk-TMRGR37B.js?v=d91265db:20290:30)
at disposeObject3D (index.ts:302:14)
at index.ts:294:29
at Array.forEach (<anonymous>)
at disposeObject3D (index.ts:294:12)
at dispose (TresCanvas.vue:162:3)
at unmountCanvas (TresCanvas.vue:183:3)
Describe the bug
Whenever we unmount the TresCanvas on route change, for example, we are recursively disposing and deleting scene references. This seems to interfere with Helper's own disposal cycle.
Reproduction
Internal
Steps to reproduce
System Info
Used Package Manager
pnpm
Code of Conduct
The text was updated successfully, but these errors were encountered: