Search Unity

AR Foundation - Landscape Orientation Issue on iPads

Discussion in 'AR' started by MarcoElz, Apr 24, 2019.

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

    MarcoElz

    Joined:
    Jan 28, 2017
    Posts:
    17
    Hello,

    I was working only on Portrait Orientation and I got everything perfect, but the issue came when I started to test it on iPads on Landscape Orientation.

    The problem is that the AR Planes are found correctly but they appear in wrong place as if they are a little far where they should be, so any AR Object I placed on that plane is unstable and looks pretty bad.

    I though that maybe the problem is about de FoV (Field of View) on Lanscape, so I tried reducing the FoV.
    The default value of the Unity's camera FoV is 60 (that one works great in Portrait), so I reduced it to 40 on Lanscape and it helped for stability but also the AR Objects look bigger (probably because the reduced FoV).
    So maybe the problem is not the FoV...

    I am using:
    Unity 2018.3.0f2
    AR Foundation 1.0.0-preview.22

    That issue is always on Landscape doesn't matter if the app started on Portrait or Landscape.

    Any solution?
    Thanks.
     
    lustgunther likes this.
  2. SerializeField

    SerializeField

    Joined:
    May 22, 2017
    Posts:
    22
    I'm having the same issue on Unity 2019.1.8f1 and AR Foundation 2.2.0
     
  3. lustgunther

    lustgunther

    Joined:
    Aug 22, 2017
    Posts:
    8
    Same issue on Android (Unity 2019.1.14f1 and AR Foundation 2.2.0)

    Portrait works fine, but in landscape mode the whole coordinate system is moving in a weird way. Everything appears to look a lot smaller (or further away) and all objects tend to slightly follow the camera movement.

    As OP said, issue is always and only present in landscape mode.
     
  4. lustgunther

    lustgunther

    Joined:
    Aug 22, 2017
    Posts:
    8
    We had a post processing stack active on the AR Camera. Disabling the post processing stack and all associated scripts fixed the issue for us.
     
    kh-liu and AkilliMum like this.
  5. pofu_lu

    pofu_lu

    Joined:
    Feb 5, 2019
    Posts:
    4
    Your solution works for me! Thank you very much!
    • Unity 2019.1.14
      • AR Foundation 2.1.3
      • ARKit XR Plugin 2.1.1
      • Post Processing 2.1.7
    • iOS 13 on iPhone X
     
Thread Status:
Not open for further replies.