Skip to content
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

Provide feedback when requesting an XR session fails during device setup #26314

Open
jdm opened this issue Apr 24, 2020 · 0 comments
Open

Provide feedback when requesting an XR session fails during device setup #26314

jdm opened this issue Apr 24, 2020 · 0 comments
Labels
A-embedding A-xr-zomg AR/VR/MR I-papercut Small but painful.

Comments

@jdm
Copy link
Member

jdm commented Apr 24, 2020

#26312 makes us check whether OpenXR initializes correctly at startup and displays a dialog if it doesn't. It would arguably be a nicer experience if you could browse normally and only saw the dialog when you tried to enter immersive mode.

This would require:

  • exposing a particular new error result from webxr-api which can be recognized in xrsystem.rs
  • recognizing that error and sending a message to the embedder to display a prompt
  • returning that new error from the appropriate code in webxr when specific openxr error codes are returned when creating an instance or enumerating extensions
@jdm jdm added I-papercut Small but painful. A-embedding A-xr-zomg AR/VR/MR labels Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-embedding A-xr-zomg AR/VR/MR I-papercut Small but painful.
Projects
None yet
Development

No branches or pull requests

1 participant