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.

Obscura not detecting immersive-vr support/poor performance

See original GitHub issue

Configuration

Wolvic version: 0.9 Wolvic build ID: d8f85016 (AC 63.0.0)

Hardware: Oculus Quest 2 v37

Steps to Reproduce

  1. Visit obscura.world from the Wolvic start page
  2. Observe that it does not detect VR support to enter the experience and stays on the 3D model
  3. Manually navigate to https://obscura.world/app to proceed to the experience and click Enter VR
  4. Observe very sub-optimal performance.

Current Behavior

Obscura does not detect immersive-vr capabilities and performs very poorly in the actual app.

Expected Behavior

Site should detect capability and perform at an optimal framerate similar to Meta Browser.

Possible Solution

I’ve determined that the reason it is not displaying the “Enter Experience” button on the homepage is due to a mobile user agent check by Obscura that appears to exclude all Android/mobile devices besides Oculus/Meta devices. I’ll pass this along to the team members at Third Axis. I am unsure what is causing the poor performance. I would need to set up remote debugging and dig into it some more from there.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
svillarcommented, Mar 8, 2022

Checking the UA string is (and has been) generally a bad idea for a variety of reasons. Among other things it basically breaks the universal accessibility of the web and the web standards. I’ve worked on browser engines for more than a decade now, and we’ve had to add specific quirks for many sites tons of times even changing them over time. Our users were suddenly forbidden to access some sites just because there were changes in the server side wrt the UA filtering. In the end, if you think about it, web browsers end up pretending to be some others so the ultimate purpouse of UA filtering does not work.

Not only that but trying to get information from UA is also a very hard problem which usually leads to issues like the ones we have in Wolvic (we claim to run on Android so we’re filtered out because the server thinks we’re on a mobile phone). Also it’s super easy to fake the user agent (can be done in Wolvic with a Firefox extension without building from sources).

Summarizing a lot instead, of using UA filtering is way much better to look for specific features you might need. There are plenty of resources in the web to check that, but the one I’ve always found more interesting is this one from Mozilla https://developer.mozilla.org/en-US/docs/Web/HTTP/Browser_detection_using_the_user_agent

Hope it helps

0reactions
svillarcommented, Jun 20, 2022

This should work in the next release. XR experience is not great though. Looks like the 3D models are very expensive to render in some devices (like Huawei glasses)

Read more comments on GitHub >

github_iconTop Results From Across the Web

FAQ - Immersed
Why can't I connect to Immersed? · Make sure that you are on the same network for your VR device and your computer....
Read more >
3 Reasons Why VR and AR Are Slow to Take Off - Gartner
Challenge No. 1: 3D design interface. The biggest barrier to wide adoption of immersive technologies is the lack of good user experience design....
Read more >
Troubleshooting Windows Mixed Reality - Enthusiast Guide
Performance issues and immersice hardware related issues​​ If you're PC is running slow, getting too warm under the hood, or just experiencing ...
Read more >
There's a lot of buzz around “immersive” experiences in art ...
The line between art and amusement, high and low, has always been porous if not impossible to pin down. Now, “the boundaries are...
Read more >
Enhancing Our Lives with Immersive Virtual Reality - Frontiers
We have selected areas that we believe are particularly important for demonstrating how VR has been and might be used to improve the...
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