Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question How to force landscape?

Discussion in 'Unity Ads & User Acquisition' started by 00christian00, Nov 25, 2021.

  1. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,035
    I have a game which runs landscape but have some issues with the ads sdk:
    1-When it has to accept the privacy policy it switch to portrait.
    2-When running ads the autorotate is enabled again.
    3-Some ads are displayed portrait

    Is there any way to force to landscape? I saw there was a setting in the dashboard before but it seem it's not available anymore.
    I am using the test flag of the sdk, don't know if with real ads it behave differently.
     
  2. 00christian00

    00christian00

    Joined:
    Jul 22, 2012
    Posts:
    1,035
    Got another issue I didn't notice, when the ads shows the navigation bar comes out. Why?
     
  3. Unity_Quinn

    Unity_Quinn

    Unity Technologies

    Joined:
    Nov 6, 2020
    Posts:
    102
    Hi @00christian00,

    In general, ads should be shown in the current orientation of the device by default. I'm currently unable to reproduce any errors with this in my test project. However, we may have some different configurations and build settings that could be causing issues for your project but not mine.
    Would you mind creating a ticket with us directly by clicking on the questions mark (?) icon at the top left of the dashboard and scrolling to the file a ticket section so that we can investigate more effectively?

    I apologize. I'm not sure I understand what you mean by this. Would you mind please including a video of this in your ticket? We'd be happy to take a look. :)

    Have a fantastic weekend!