Button3D in VR is rendered on top of everything

This is only happening in VR, when I place instances of Button3D on a panel. The buttons are always rendered on top of everything else, including the XR hands. Any suggestions on what might have gone wrong? It is simply this playground https://playground.babylonjs.com/#HJZBRG#0 but in VR. (using babylon.js v5.6.0)

cc @RaananW

i’ll check that! shouldn’t happen.

PR is open - [XR] No need to clear (depth) in utility layer by RaananW · Pull Request #12613 · BabylonJS/Babylon.js (github.com)

1 Like