aframevr / aframevr/aframe

unable to enter VR, the return value of xr.isSessionSupported is always false

Open
#5,406 4 comments 0 reactions 0 assignees View on GitHub

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.