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
  3. Dismiss Notice

Bug iOS standardI AP interface orientation problem - is this a known issue?

Discussion in 'Unity IAP' started by MiriamJ, Feb 15, 2022.

  1. MiriamJ

    MiriamJ

    Joined:
    Dec 13, 2017
    Posts:
    3
    Hi there,

    My team is working on a port of our game for IOS. We are very close to meeting our gold for submission, but one bug that appears unsolvable is that though our game is in Landscape, when a user taps to purchase IAP the Apple specific IAP overlay loads in portrait by default.

    Our developer can't find any information pertaining to this but he did discover several other released landscape games that share this issue.

    we are developing in Unity 2019.4.20f1 and using version 2.0.3 purchase manager.

    Any help is very appreciated.

    This is an example of the issue in a released game which is why I am wondering if it is a known problem or if there is a fix available.



    Is this an expected behaviour or is there a known bug with our development environment (Unity).

    Thanks in advance for any advice, I can upload screenshots of our unreleased game but it is basically the same issue as shown above.
     
    AsemBahra likes this.
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    @MiriamJ Please test with In App Purchasing 4.1.3 available in Package Manager
     
  3. MiriamJ

    MiriamJ

    Joined:
    Dec 13, 2017
    Posts:
    3
    Hi Jeff, we did the upgrade and shipped on testflight and the problem still occurs.
     
  4. Venros

    Venros

    Joined:
    Nov 12, 2015
    Posts:
    11
    Any updates on this? I'm having the same issue on IOS (Android works as intended).
     
  5. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Upon further investigation, this is on the Apple side and is by design. They changed the behavior for iOS 14+, and there is no flag that we could pass to enforce landscape vs portrait.
     
  6. MiriamJ

    MiriamJ

    Joined:
    Dec 13, 2017
    Posts:
    3
    Thanks very much @JeffDUnity3D how did you find this out - out of curiosity? I looked everywhere and couldn't find any feedback regarding the change. I even asked on the Apple developer forum and was ignored.
     
  7. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    14,446
    Via our internal conversations with Apple. They are aware of the issue, but the bug is not public yet.
     
  8. Meatloaf4

    Meatloaf4

    Joined:
    Jul 30, 2013
    Posts:
    182
    Hey @JeffDUnity3D just curious if there was any resolution to this bug, it looks like it's still happening on my end.

    On Unity 2021.3.14f1 & Unity IAP 4.5.2

    P.S. Sorry to necro an old thread
     
  9. unitynoob24

    unitynoob24

    Joined:
    Dec 27, 2014
    Posts:
    398
    @JeffDUnity3D Still seeing this. @Meatloaf4 Was wondering if you found a workaround?

    Hit this issue over the weekend, game is set to left or right landscape - on iOS the IAP is always portrait. (Have only tested in Sandbox via TestFlight so far) Android builds are properly showing the native IAP modal in landscape.

    I'm using Unity 2020.3.45f1 and IAP 4.6.0 - I work primarily on a PC running Windows 11 build and deploy for Android there, but build for iOS from macbook. Which is currently running Xcode 14.2, I haven't dug in too deep there, but was wondering if maybe that has an exposed value I can set when building / deploying from Xcode?

    Thanks guys!

    EDIT: Sorry again to necro, just tagging an active Unity person from the IAP forum @agorain
     
    Last edited: Feb 21, 2023
  10. unitynoob24

    unitynoob24

    Joined:
    Dec 27, 2014
    Posts:
    398
  11. Arnaud_Gorain

    Arnaud_Gorain

    Unity Technologies

    Joined:
    Jun 28, 2022
    Posts:
    167
    Hi @unitynoob24 and @Meatloaf4,
    Note: Jeff is no longer with us since Sept 2022

    This a limitation from iOS itself, you can double-check if they updated it but I doubt it since you are encountering the issue with 14.2
     
  12. ttran07

    ttran07

    Joined:
    Mar 9, 2019
    Posts:
    9
    I'm seeing this issue on Android as well...
    I'm using the latest and greatest version as of August 2023