Position Gizmo is hidden behind a mesh in XR (Gizmo/WebXR)

The Position Gizmo is visible in normal 3D, but is hidden behind the mesh when viewed with XR

https://playground.babylonjs.com/#C1DA0I

I also noticed a bug with the action onPickTrigger.

If there is an onPickTrigger handler somewhere, then if I release the gizmo with the mouse, the event does not fire (normal behavior). When I release the gizmo with a trigger joystick in WebXR, the event fires (Not normal behavior)

1 Like

Cc @RaananW

Will look into both issues and get back to you! thanks for taking the time to tell us about it :slight_smile:

Issue found - [XR] utility layer clear in xr scenarios by RaananW · Pull Request #11792 · BabylonJS/Babylon.js (github.com)

1 Like