Strange controller's behaviour in Oculus browser

Greetings !

While working on my algebraic surface viewer with XR support, I am stuck on strange behaviour of the controller in Oculus browser.

Steps to reproduce:

  1. Open https://mathview.yesbird.online/ in Oculus browser.
  2. Select surface, not entering XR mode.
  3. Move the cursor outside the rendering canvas (say, point to any icon).

After that the controller will stick to the surface and will not release it - looks like '‘selectend’ event is not firing. Could you please check this issue on your headset, if you have one and suggest the way to solve it ?

I spent three sleepless nights trying to fix it. Unfortunately I can’t even write anything to console, as my Oculus Go doesn’t support it.

If the pointerleave event is fired on the canvas when the pointer leaves it, you can manually dispatch selectend or even directly release the controller. This is just an idea, untested, but worth trying.

2 Likes

Thanks, I will try it !

It was a good idea, but unfortunately it’s not woking - I tried ‘pointerout’ also - no success.
I guess the reason is the browser in Oculus Go implemented very rudimentary and inaccurate, will try to find another workaround …

1 Like