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
Change the fragment (lines 18 & 41) to a <group>...</group>, and it will start working. The Switch doesn't work unless the parent is a valid Object3D, or something of that nature.
I have seen the same issue with <Show>.
The text was updated successfully, but these errors were encountered:
vorth
changed the title
Switch (between meshes) as child of Canvas does not work
Switch/Show of mesh as child of Canvas does not work
Jun 3, 2023
https://codesandbox.io/p/sandbox/solid-three-with-switch-forked-d1jmmf?file=%2Fsrc%2FApp.jsx%3A41%2C7
Change the fragment (lines 18 & 41) to a
<group>...</group>
, and it will start working. The Switch doesn't work unless the parent is a valid Object3D, or something of that nature.I have seen the same issue with
<Show>
.The text was updated successfully, but these errors were encountered: