Search Unity

Interstitial Unity Ads Crashing in iOS in Landscape Mode

Discussion in 'Unity Ads & User Acquisition' started by jbassking, Oct 22, 2020.

Thread Status:
Not open for further replies.
  1. jbassking

    jbassking

    Joined:
    Feb 27, 2014
    Posts:
    118
    Our app starts in portrait mode but switches depending on the game that's being played. The games that display in portrait mode show the Interstitial ads fine but the ones that switch to landscape, crash. I've been fighting with this issue for days now.

    This is how the mode is changed:
    Code (CSharp):
    1. Screen.orientation = ScreenOrientation.Landscape;
    Here's what I'm getting.

     
  2. trati

    trati

    Joined:
    Jul 15, 2015
    Posts:
    3
    Did you solved this problems
     
  3. jbassking

    jbassking

    Joined:
    Feb 27, 2014
    Posts:
    118
    No. It's very frustrating.
     
  4. trati

    trati

    Joined:
    Jul 15, 2015
    Posts:
    3
    done.
    on Xcode -> General -> Device Orientation:
    Check : Portrait, Landscape Left, Landscape Right.

    then rebuild again. Tell me know your result, plz!
     
  5. jbassking

    jbassking

    Joined:
    Feb 27, 2014
    Posts:
    118
    @trati It worked! Thank you so much!
     
Thread Status:
Not open for further replies.