I encountered a strange behavior in the framework. As soon as I touch the touchpad of Oculus Go controller in WebXR mode, the framework stops to draw. It freezes completely. I can’t reproduce it in the playground.
The error is: Uncaught TypeError: Cannot set property 'isVisible' of undefined, it is pointing to this line.
That’s interesting that you can’t reproduce that in the playground.
As @Evgeni_Popov asked - what version of the framework are you using? Are you trying to use the oculus go on the playground as well? Would you be able to share the code that you are using ?
I checked the oculus go profile, and emulated it. It all seems to be well validated.
I am working on a quick PR that will check if this mesh exists, but this is just a defensive solution. The better solution would be to understand what profile you are loading and why the valueMesh of the component (probably the touchpad) is not defined.
Are you by any chance loading the models from a different source?
Can’t wait to see your code and check what the difference is
Do you by any chance get a warning in the console about incorrectly loading GLTF model?
The webxr profile library require the gltf loader in order to load the models required. Otherwise it falls back to a generic (and sometimes incompatible) model.
Please make sure you are adding the @babylonjs/loaders package and import the gltf loader