This version of Unity is unsupported.

PlayerSettings.useAnimatedAutorotation

Switch to Manual
public static bool useAnimatedAutorotation;

Description

Let the OS autorotate the screen as the device orientation changes.