Search Unity

  1. If you have experience with import & exporting custom (.unitypackage) packages, please help complete a survey (open until May 15, 2024).
    Dismiss Notice
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice

UnityAds selectively crashes the game

Discussion in 'Unity Ads & User Acquisition' started by FameConway, Dec 3, 2018.

  1. FameConway

    FameConway

    Joined:
    Dec 20, 2014
    Posts:
    4
    I have a universal application with UnityAds which works on different devices.
    I've encountered a problem.

    UnityAds:
    1. It works fine on Android devices.
    2. It works fine on iPad3/new (iOS 9.3.5) when the game is installed on the device and using Xcode, or using TestFlight (Apple App Store Connect).
    3. It works fine on iPhone4s, iPhone5 (iOS 10.3.3) when the game is installed on the device using Xcode.

    But when the same game versions are installed on iPhone4s, iPhone5 using TestFlight, the game always crashes when you press the button starting the commercial.

    Has anyone experienced the same problem?
     
  2. FameConway

    FameConway

    Joined:
    Dec 20, 2014
    Posts:
    4
    Sorry, screenshot:
     

    Attached Files:

  3. FameConway

    FameConway

    Joined:
    Dec 20, 2014
    Posts:
    4
    The situation is as follows:
    If your game works only with one screen orientation (for example, "landscape right") - Xcode can show it incorrectly (for example, it shows "landscape left").
    Don't touch this setting in Xcode or tick all the variants (both "landscape right" and "landscape left")!
    Then the game will work in accordance with Unity settings (only "landscape right") and it'll stop crashing.