This version of Unity is unsupported.

PlayerSettings.allowedAutorotateToLandscapeRight

Switch to Manual
public static bool allowedAutorotateToLandscapeRight;

Description

Is auto-rotation to landscape right supported?