The playground, when use 'WebXR device emulator browser extension', the WebXR mode does't work! this is a simple webxr demo of document, when I open it in chrome browser, it looks normal:

When I click the glasses icon(
), it has nothing in the scene, looks like the following:

Every webxr demo of babylon playground can appear this problem, I don’t know if it’s the plug-in problem, the framework problem, or the problem I used.

To add: In Firefox, the same problem occurs when using this plug-in

Pinging XR master @RaananW to take a look once he’s back from vacation :smiley:

1 Like

It all works fine in real devices, so I guess it might be a plugin issue ? could you check with them ?

I had create a issue to the webxr plugin.
I test a demo of three.js - this page:(
The plugin works fine on this page, I shoot a picture:

I think the WebXR function of Babylon.js has no problem, all work fine in my real devices. There may be some problems in combination with the browser webxr-plugin.

I can not debug in the pc browser with the browser webxr-plugin, this lead to more troublesome development, But it’s not an urgent issue, so take a good vacation and deal with it when you come back to work.

The plugin hasn’t been updated in a long time, so it might be a WebXR API issue. I’ll see what we are doing that the emulator doesn’t like.
I hope we won’t need to introduce any “custom implementation” for the emulator, but I do want to make sure it is working correctly.

[quote=“RaananW, post:6, topic:26239”]
I hope we won’t need to introduce any “custom implementation” for the emulator,
[/quote] Yes, I agree.

This is the issue I have reported to the emulator plugin:

I will work to find what changes we made to cause this. I assume it is the same case as firefox reality - some changes we have made that should work simply doesn’t. i’ll work on that this week.
Since the last commit in this repository was pushed over a year ago, I am not sure they will actually fix it. There are also open PRs since march 2021, not sure how much they maintain it. Shame, as this is a wonderful extension!

1 Like

:coffee: :rose:
Thanks for your work!

1 Like

Fix found.
I have to say it is rather odd, but this is the fix - [XR] set _framebuffer even when “falsy” by RaananW · Pull Request #11713 · BabylonJS/Babylon.js (

1 Like