When I test the baseExperince variable on my XR application in https, the variable is not created (undefined). Yet I do have the interface to switch to VR mode. I tried with version 4.1.0 and 4.2.0 Alpha 17.
If I do the same test in the playground with the basic scene, it is well created.
I’d like to understand before going further, because I’m afraid to have problems afterwards.
this is an async (promise-based) call, you will need to either use async-await, or use .then(xr=> {...}) to get the experience helper. baseEpxerience will only be available after this resolves.