When i click the vr button on the vr template the whole screen goes black

https://launch.playcanvas.com/1896550?debug=true

vr seems to be broken in v1.66 it works in v1.65

That should be fixed in 1.66.2 by this I believe: [Fix] When the default framebuffer is updated, refresh info about its format by mvaligursky · Pull Request #5784 · playcanvas/engine · GitHub
What device are you testing on?

testing on all major browsers and occulus, 1.65 is fine il try 1.66 again

Hi @mvaligursky
Going back to this thread. Seems like the engine might have this fixed from the PR you merged but I’m still running into the error using the online editor. Even creating a new project from scratch displays the black screen when clicking going into VR (both in Firefox and Safari). Unfortunately I’ve always used the editor to build and have no experience with the engine to recreate the whole app. If the editor says it’s on 1.68.1, shouldn’t it be fixed? Am I missing something? Appreciate your help!

Console feed:

Powered by PlayCanvas 1.68.1 b74c2ff99
WebGL warning: generateMipmap: Tex image TEXTURE_2D level 0 is incurring lazy initialization.
WebGL warning: drawElementsInstanced: Depth texture comparison requests (e.g. `LINEAR`) Filtering, but behavior is implementation-defined, and so on some systems will sometimes behave as `NEAREST`. (warns once)
The optional feature 'hand-tracking' is not supported [1951515:938:33](https://launch.playcanvas.com/1951515?debug=true)
DEPRECATED: pc.AppBase.renderLine is deprecated. Use pc.AppBase.drawLine. [debug.js:26:20](https://code.playcanvas.com/src/core/debug.js)
WebGL warning: bindFramebuffer: Object `fb` is already deleted.
... etc ....

Would you have a repro project and repro steps for this pleaes?

Yes, are you able to access this project?
https://playcanvas.com/project/833043/overview/webxr-controller-animations

Steps to reproduce:

  • Open the Editor
  • Launch the preview from the editor in Firefox (or Safari)
  • You will see the presentation screen, click the VR button
  • You should see a black screen, even if you run the WebXR plugin

Thanks!