Hi Jocyf, this is working for me on Oculus browser - great work! Would you be willing to give access to your code changes - it would save me a lot of time, I’m researching how to do exactly this (movement, teleportation, etc) and resources are very sparse. Cheers.
Yeah, there is not much out there but it’s easy to make it work once you figure out how to read the sticks in Unity Editor & browser. For me that was the main problem.
I’ll try to submit the project to an Github repository in a few days (in my project there is a lot of code, graphics & scenes not related to this, so I need to clean the project to be able to share it).
This package has a fix for the black screen you mentioned. (If it’s the bug that I think it is)
And there’s also some added features like AR support (Headsets and Handheld), Hands API, Hit-Test API, etc…
@De-Panther This looks great, thanks so much for it! The actual fix for the black screen, is it in XRGeneralSettings? I would love to integrate this with @jocyf awesome project.
Most of the issues of black screen were related to the JS side, so changes in the “.jslib” “.jspre” files, and changes in the “webxr.js” file.
Some lost references of the “SharedArray”, some issues regarding the WebGL frameBuffer, and issues when switching between XR sessions.
Also, @jocyf and I talked in the WebXR discord ( WebXR ), and he already have a version that works with my repo. So now he needs to create a repo for it or update the existing one
It has a 100% dependency on last @De-Panther pull. Before importing my pakage, make sure you have installed all webXR @De-Panther content (WebXR Exporter, XR Interactions & his sample scene).