unable to enter VR, the return value of xr.isSessionSupported is always false
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 17.6k
- Forks
- 4.4k
- PR merge metrics
- No merged PRs in 30d
Description
Description:
I am using a-painter from the aframe(https://aframe.io/examples/showcase/a-painter/).
I Don't know everyone's VR can run normally. I can't case to enterVR in either chrome or edge.
Because the return value of xr.isSessionSupported is always false.
The only effective way is to add --no-sandbox to chrome setartup. which can be used after disabling the sandbox.
At this time, the retrun value of xr.isSessionSupported is true.
I tried all devices , including Pico and HTC Vive, as well as chrome and edge browsers, and the only thing that worked was --no-sandbox.
But this does not meet my needs. My project is a PWA application and needs to be run on edge, but edge --no-sandbox does not take effect. This feature seems to be unique to chrome.
- A-Frame Version: 1.5.0
- Platform / Device: Pico / HTC Vive | edge / chrome / edge beta / chrome canary
- Reproducible Code Snippet or URL: https://aframe.io/examples/showcase/a-painter/
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the A-Frame a-painter reproduction URL and trace the xr.isSessionSupported result for the listed Chrome and Edge environments. Compare behavior with and without the --no-sandbox startup option across the Pico and HTC Vive devices; done means the reproducible VR entry failure is identified and resolved without requiring --no-sandbox.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- ar-vr-xr
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100