Igalia / wolvic-chromium

The official GitHub mirror of the Chromium source
https://chromium.googlesource.com/chromium/src/
BSD 3-Clause "New" or "Revised" License
11 stars 6 forks source link

WebXR controllers not shown using handtracking #61

Closed javifernandez closed 9 months ago

javifernandez commented 9 months ago

Description of the bug

We have some code in Wolvic to pass the right input profiles to the WebXr session when using handtracking, so the application can render the emulated controllers. For the devices that don't have a public profile (eg Lynx) we default to one that it's registered (eg QuestTouch3). This works fine with the Gecko backend, but for all the WebXr games and experiences we have in our home page, but when using the Chromium backend, the controllers don't appear when entering the immersive mode.

Steps to reproduce the issue 1- Enable handtracking (if needed) 2- Leave the controllers aside, so that the app is controlled by the handtracking 3- Load the Moonrider

  1. Enter XR mode

Expected result The Game shows the controllers, as it happens when using the physical controllers

Actual result The game starts the immersive mode, but no controller is shown. However, the gesture (left hand back) work.

Other It seems the behavior depend on the application loaded; Iron Rails is another game where it doesn't work. It works for the Builder game, though.

javifernandez commented 9 months ago

It seems the bug is in the Wolvic's code; filed issue 1160

Closing then.