question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Uncaught TypeError: navigator.xr.requestDevice is not a function with WebXR API Emulator

See original GitHub issue

chrome 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
felipenmouracommented, Dec 18, 2019

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found