HTMLCanvas gets moved to top of page on entering XR scene

I tried creating an XR scene, however for some reason it gets moved to the top of the screen, as you can see in the image. The gray box below the scene is the place where the canvas is supposed to be. Why is that and can I prevent this?

best regards

an XR scene is usually running “full screen” on a device, and not on the desktop screen. I assume this happens when you use the emulator?

Yes I am using the emulator. Haven’t tried it with a headset yet.

that would probably be the expected behavior. the emulator is for development purposes. when in XR you can turn on spectator mode if you wish, but otherwise - the canvas is not being updated in any way.

1 Like

Thank you, I will try to create a workaround for my use case. :slight_smile:

1 Like