We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

VR Mode Doesn’t Activate when project is hosted on a local webserver

Home Forums WebGL & WebXR Troubleshooting VR Mode Doesn’t Activate when project is hosted on a local webserver

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #59160
    08robertsj
    Participant

    Hi all,

    I’m using Verge3d v4.1.1 for Blender to create a WebXR app.
    I’ve used puzzles to launch VR mode and have found it works perfectly with an Oculus Quest 2… but only when the app is uploaded to Verge3D Network. This takes a long time.

    To speed up dev time, I’ve been looking to host my app locally from my computer. I’ve tried this in two ways: a) using the Verge3D App Manager using it’s local network functionality and b) running my own Apache webserver.

    With both methods, whenever I connect my Quest to my local IP address, the app loads fine, but the “check VR Mode” puzzle returns as VR Unavailable.

    It’s odd that when hosted on Verge3D Network, VR works fine, but when hosted on my own server, VR breaks. Perhaps Verge servers have a dependency installed that I don’t?

    If you have any insight I’d be very grateful.

    Attachments:
    You must be logged in to view attached files.
    #59222
    FunJoy.Tech
    Customer

    WebXR only works over HTTPS. You should deploy an SSL certification first.

    #59239

    Yes, the only way to overcome this on localhost is to use port forwarding.

    Chief 3D Verger | LinkedIn | Twitter

    #59247
    08robertsj
    Participant

    Thanks all!

    If anyone else comes across this post looking for the same problem on Meta Quest 2 or similar, I’m using adb for port forwarding. Hope that helps.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.