Closed jesuscfp closed 5 months ago
As far as I know, it's not something we have control over in WebXR. The orientation the phone was at when requesting AR session, that would be the orientation for the duration of the session.
I wasn't sure if it would be a enhancement more than a bug. I will try to implement my own method.
Thank you!
If I add the line Screen.orientation = ScreenOrientation.AutoRotation on the method Awake of my script, when the App starts the AR Mode, it never changes the screen orientation when the device changes the rotation
Steps to reproduce the behavior:
Unity info: Editor version: 2021.3.15 WebXR Export version: 0.21.0 WebXR Interactions version: 0.21.0
Smartphone: OS Device: Android 11 Browser: Chrome 121