-
Notifications
You must be signed in to change notification settings - Fork 15k
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
[Bug]: WebXR API not working #35011
Comments
Per https://releases.electronjs.org/ Electron 19 is based on M102, can you try Electron 20 beta which is based on M104 and therefore will more likely align with your testcase of Chrome M103 |
As already noted in the additional information. "I was able to reproduce this behavior using Electron v19.0.8, v20.0.0-beta10, and a custom v21 nightly build with checkout_openxr explicitly set to True." |
@MarshallOfSound Per above, this isn't blocked. Can the tags be updated accordingly? Thank you. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
This is still occurring and needs support |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Still occurring. @MarshallOfSound as described in original comment: #35011 (comment) -- the repro is described here. The |
Any updates on this issue, and in order to enable webXR for ElectronJS? |
Pretty good blog post about this topic. https://bai.dev/projects/webxr-electron-apr2021.html The main point being OpenXR is not included in the build of Electron so the WebXR api is disabled. You can either make a local build of Electron like in the post or use NW.js which has WebXR enabled. |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Still occurring. |
I'm not having any luck either. Working on a 3d renderer for the original StarCraft and my dream is to have VR work with it. The devices aren't being found, even with the same example working in Chrome. I'm using the ThreeJS VRButton, who's examples can be seen here: https://threejs.org/examples/?q=vr#webxr_vr_handinput I'm using Oculus 2 with link cable. SteamVR works, other browser examples work, electron doesn't :( Any pointers would be great. I did try adding the ACLs on the executable directory. The default DEPS build should work since I'm on windows:
I also tried hardcoding it in my own build but no luck
I've validated that I'm running in a secure context:
and |
@alexpineda You're probably running into the same issue that @jbaicoianu did with the access control lists (ACLs). |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
Bump |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment! |
bump |
Preflight Checklist
Electron Version
19.0.8
What operating system are you using?
Windows
Operating System Version
Windows 11 Pro 22000.795
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
Using the WebXR API successfully detects 'immersive-vr' as being supported.
The following is our react-based application running in Chrome version 103.
Actual Behavior
Using the WebXR API does not detect 'immersive-vr' as being supported.
Testcase Gist URL
No response
Additional Information
I was able to reproduce this behavior using Electron v19.0.8, v20.0.0-beta10, and a custom v21 nightly build with
checkout_openxr
explicitly set toTrue
. I have also tried explicitly disabling the sandbox mode for the browser window as shown in the example below...Test code for detecting the VR support is as follows...
The text was updated successfully, but these errors were encountered: