Uncaught TypeError: navigator.xr.requestDevice is not a function with WebXR API Emulator
See original GitHub issuechrome stable 77 https://github.com/MozillaReality/WebXR-emulator-extension aframe master example https://a-frobot.github.io/aframe/examples/boilerplate/hello-world/
Uncaught TypeError: navigator.xr.requestDevice is not a function
at Object.<anonymous> (device.js:21)
at Object.173._process (device.js:150)
at s (_prelude.js:1)
at _prelude.js:1
at Object.176../bind (index.js:6)
at s (_prelude.js:1)
at _prelude.js:1
at Object.149.../package (index.js:25)
at s (_prelude.js:1)
at e (_prelude.js:1)
@takahirox @dmarcos does this needs a aframe change or Emulator?
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
aframe - the new 0.9.2 update seems to be broken
device.js:18 Uncaught TypeError: navigator.xr.requestDevice is not a function at Object.<anonymous> (device.js:18) at Object.176.
Read more >Upgrade aframe to v1.0.3 - WordPress.org
I encountered this JavaScript error in Chrome: Uncaught TypeError: navigator.xr.requestDevice is not a function.
Read more >WebXRDefaultExperience Icon error shows Error when clicked
Using the WebXRDefaultExperience. the VR button shows up in the lower right of my screen because I have the WebXR API Emulator installed...
Read more >Diff - f06b8215fe..c20726850b - chromium/src - Git at Google
+// move keyboard to primary display if no display has touch capability and +// no ... AR/VR (collectively known as XR) APIs are...
Read more >UDN Search
the comment interface represents textual notations within markup; although it is generally not visually shown, such comments are available to be read in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
See https://github.com/MozillaReality/WebXR-emulator-extension/issues/100
I made a quick “solver” snippet for those desperate for a solution! https://github.com/aframevr/aframe/issues/4354#issuecomment-567052948
It’s not a real or global solution, but it works for those that had it working and suddenly it crashed (and the fix, which was to update aframe to 1.0 brought a different problem, with the raycaster). This is just a really fast, temporary fix.