Describe the bug
The camera is upside down when switching orientation from landscape left to landscape right directly or from portrait to portrait upside down.
To Reproduce
Steps to reproduce the behavior:
Create an AR project or start from the ARFoundation sample project
Set the default orientation to Portrait in Project Settings
Add the following code in Awake() or Start() of any script
Switch orientation from landscape left to landscape right directly or from portrait to portrait upside down quickly.
See that the camera is upside down
Expected behavior
The camera should update it's orientation like the rest of the app (the UI does)
Actual behavior
The camera is upside down when switching orientation from landscape left to landscape right directly or from portrait to portrait upside down.
Smartphone (please complete the following information):
This is a bug in non-AR code as we have reproduced this without AR Foundation and associated packages. We have opened a bug internally for the mobile team to investigate.
Unity bug report case number 1273490
Describe the bug The camera is upside down when switching orientation from landscape left to landscape right directly or from portrait to portrait upside down.
To Reproduce Steps to reproduce the behavior:
Create an AR project or start from the ARFoundation sample project
Set the default orientation to Portrait in Project Settings
Add the following code in Awake() or Start() of any script
Build and launch the app on the device
Switch orientation from landscape left to landscape right directly or from portrait to portrait upside down quickly.
See that the camera is upside down
Expected behavior The camera should update it's orientation like the rest of the app (the UI does)
Actual behavior The camera is upside down when switching orientation from landscape left to landscape right directly or from portrait to portrait upside down.
Smartphone (please complete the following information):