open-ecosystem-development / OpenXR-SDK

Apache License 2.0
2 stars 3 forks source link

firefox 6dof @November 9 version access a Mozilla hubs web page,no controller in the view -- high priority #20

Closed dingsing2021 closed 2 years ago

dingsing2021 commented 3 years ago

The handle cannot be seen in the field of view. This problem is reported by our colleagues in Germany. so please visit this website and make sure the handle works properly. here is the web address: https://xrhubspace.de/bPA7XDe/xr-spaces-main-lobby
https://xrhubspace.de/XiKCzTK/summit-hub

fwei-io commented 3 years ago

image

fwei-io commented 3 years ago

@MortimerGoro to investigate this issue.

MortimerGoro commented 2 years ago

Controllers work in https://hubs.mozilla.com/

Is xrhubspace.de using an older version of mozilla hubs?

MortimerGoro commented 2 years ago

I have asked about this to a Hubs developer. The code is minified so hard to know the difference between both versions of hubs. I'll comment when I have more info

MortimerGoro commented 2 years ago

I looked into this issue in more detail and I found the problem: xrhubspace.de is using a old Hubs version that combines WebVR (old spec) and WebXR (new spec), and tries to use WebVR with Firefox Reality. The OpenXR build is using the interaction profiles instead of setting the deprecated controller names used for WebVR. I had to do some workarounds with the User Agent and Gecko preferences to force it to run the WebXR version.

You can test it on the v13 demo uploaded today

MortimerGoro commented 2 years ago

For reference I created this Gecko patch: https://bugzilla.mozilla.org/show_bug.cgi?id=1742430

It will also require a FxR patch. I'll post it.

fwei-io commented 2 years ago

It is working in xrhubspace.de now, thank you.