Pre-build setup

General

  • Check Player Settings → Resolution and Presentation → Landscape Left
  • Check Player Settings → Resolution and Presentation → Landscape Right
  • Uncheck Player Settings → Resolution and Presentation → Portrait
  • Uncheck Player Settings → Resolution and Presentation → Portrait Upside Down

Android

  • In Player Settings → Other Settings → Package Name set a valid string
  • Uncheck Player Settings → Other Settings → Multithreaded Rendering
  • Uncheck Player Settings → Other Settings → Target Architectures → x86
  • Set Player Settings → Other Settings → Minimum API Level to “Android 7.0 ‘Nougat’ (API level 24)” or higher*

iOS

  • In Player Settings → Other Settings → Bundle Identifier set a valid string
  • In Player Settings → Other Settings → Camera Usage Description set a valid string

After build is completed in Unity set Deployment Info → Deployment Target to 9.0 or higher in xCode