I am currently looking for a workaround, or fix, for a Unity bug.
I want to be able to auto-rotate my game, while respecting the Android system settings.
Currently, if you set your Unity Orientation Mode to "Auto Rotation", your application will automatically change its orientation based on the physical's device orientation. In iOS, if you disable the Screen Rotation in device settings, the auto rotation stops as intended. In Android, even if you lock your screen orientation, the application will continue to auto rotate. This is a major bug.
Does anyone know of a workaround, so that my android application will be able to auto-rotate, while still respecting the device system settings?
You can easily reproduce this bug by creating a blank project, setting the orientation mode to "auto rotation" and running it on an android device.