Scene breaks when cast-shadow
enabled and navigating back to a previously initialized scene
#851
Open
5 tasks done
Labels
pending-triage
Ticket is pending to be prioritised
Describe the bug
I have a Nuxt 3 app and in it a page with a Tres.js scene. The scene contains
<TresDirectionalLight cast-shadow />
which casts a shadow. When navigating away from the page with the scene and navigating back to the scene (using NuxtLink), I get the error below.When I remove the
cast-shadow
prop, the bug disappears.complete error log
Reproduction
https://stackblitz.com/edit/nuxt-starter-w3neca?file=pages%2Findex.vue
Steps to reproduce
No response
System Info
Used Package Manager
npm
Code of Conduct
The text was updated successfully, but these errors were encountered: