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

WebXR - fix depth sensing on quest 3 #6774

Merged

Conversation

Maksims
Copy link
Contributor

@Maksims Maksims commented Jul 2, 2024

A recent update of OculusBrowser depth sensing implementation broke access to it.
There was an update to the WebXR Depth Sensing specs and implementation of it on Meta Quest: immersive-web/depth-sensing#49
This PR ensures that we take that edge case into account.

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@willeastcott
Copy link
Contributor

Can a fix be achieved without sniffing the user agent? I'm not a big fan of doing that...
Is Quest not adhering to the spec? Is it a bug? Would you expect the edge case to be removed at some point?

@Maksims
Copy link
Contributor Author

Maksims commented Jul 2, 2024

Can a fix be achieved without sniffing the user agent? I'm not a big fan of doing that...

Unfortunately, I'm not aware of other ways of detecting Quest browser.

Is Quest not adhering to the spec? Is it a bug? Would you expect the edge case to be removed at some point?

It is somewhat weird behaviour currently, I will definitely raise an issue with their implementation, but currently it fixes a problem. Maybe they will improve it in the future.

@willeastcott
Copy link
Contributor

OK. Well, I'll approve + merge for now, but we should return to this at a later date...

@willeastcott willeastcott merged commit 3d80461 into playcanvas:main Jul 2, 2024
8 checks passed
willeastcott pushed a commit that referenced this pull request Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants