I’ve gotten this to work before but for some reason ever since I switched laptops I can’t get my WebXR project to work on the HoloLens anymore. It works on android
I’ve tried clearing cookies in Edge, updating the HoloLens 2, rewriting the initialisation of the engine so I don’t rely on "babylonjs-hook" anymore but I’m still not getting the button to enable WebXR.
I am running this through https, that’s not the issue.
WebXR in general works on the device, if I start a simple example through a playground it works. The issue must be with something I’m doing, I just have no idea what I’m doing wrong here.
Oh! no it doesn’t work in the playground. It worked when the session mode wasn’t specified (which I guess defaults to immersive-vr) but if you set it to immersive-ar specifically it doesn’t work.
I see WebXR Incubations and WebXR Hand Input, they were on default, I’ve set them to enabled but I still get the same thing. Both in the playground and my own app it says Session mode "immersive-ar" not supported in browser. Maybe I accidentally clicked the wrong button on a permission at one time and it doesn’t prompt it again?
Oh you can just see the permissions, nothing has blocked AR permissions…
i’m on an insiders build, but AR has been enabled for quite some time now. I doubt it is the OS itself. Edge supports AR without a problem.
I can ask around and see if anyone has ever experienced this. Sorry, but I can’t think of a reason it would work on one system and not on another
In case someone stumbles on this issue, it’s finally been fixed , apparently if you install the preview version:
Good news, we are tracking to a public release.
To help get to that date, we have a fix that is in the latest in-flight builds of HoloLens OS. If you have access to a test HoloLens device, you can get the latest build here that has the fix: