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
I am working on a project using Next.js and have integrated @react-three/xr to create an immersive XR experience. However, I keep encountering a window is not defined error, which I suspect is related to the createXRStore function.
Additionally, the XR experience does not get triggered on my mobile device when using Next.js.
Could an example or guidance on how to properly use @react-three/xr in a Next.js environment be provided? Any help or advice would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered:
I am working on a project using Next.js and have integrated
@react-three/xr
to create an immersive XR experience. However, I keep encountering a window is not defined error, which I suspect is related to thecreateXRStore
function.Additionally, the XR experience does not get triggered on my mobile device when using Next.js.
Could an example or guidance on how to properly use @react-three/xr in a Next.js environment be provided? Any help or advice would be greatly appreciated.
Thanks!
The text was updated successfully, but these errors were encountered: