Uncaught (in promise) DOMException

looks like since 7.6.0 the “scene.createDefaultXRExperienceAsync” has been borked.

Noticed it in our dev enviroment, because in vue errors like that pop up as dialogs. Thought it was something we where doing but then after narrowing down what is going on it seems that this section of code is the culprit:

Not sure what the fix would be.

possibly related? DOMException with createDefaultXRExperienceAsync

very much related. I will submit a fix soon.


I assume this happens in an environment that does not support WebXR? what browser/os are you using to get this error thrown?

I also assume it does not stop rendering or the rest of the code from running. Please correct me if I am wrong here.

I was on chrome, not sure what my coworker who first ran into it was running ill ask.

He was on chrome as well.

1 Like

Are there any updates on this @RaananW?

would be great to keep it in a single thread. To answer quick here - there shouldn’t be any issue with your application. This happens when the canvas cannot be made XR ready (and is a browser issue). The only thing I don’t do here is catch it in the right moment. You can ignore it for now, and I will be working on catching to error better in the next version.