New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XR Controllers disappear when using conditional rendering #291
Comments
narrowing it down, it seems that when the |
Is this still an issue with v5.6.2? |
@CodyJasonBennett I'll check out on headset tonight and report back. Thanks for the effort! |
I'm still having this issue in version 5.7.0 |
Are there any news on that? |
From Discord, looks like state is not being created correctly when |
Hi, is there any way around this problem? |
Hello, I have this example https://codesandbox.io/s/react-xr-simple-demo-with-swap-6l8xzd?file=/src/index.tsx where I'm making a sphere geometry appear when a button is clicked via react conditional rendering. This action is making the Controllers (Oculus quest 2) disappear, although moving them around and squeezing will emit events and interact, I believe only the 3D models aren't visible.
If the session is somehow restarted (taking off the headset and on again) will make the Controllers appear again.
Not sure if this is a known issue or if my implementation is somehow faulted.
The text was updated successfully, but these errors were encountered: