Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug ARKit Front camera performance warning iPhone 12 Pro

Discussion in 'AR' started by jforder, Apr 11, 2021.

  1. jforder

    jforder

    Joined:
    Jun 30, 2012
    Posts:
    22
    Hi all,

    Running into an issue where when switching to the Front camera brings up the warning below -

    World tracking performance is being affected by resource constraints

    This continues until the app eventually crashes.

    I created a fresh project to make sure there wasn't anything else affecting it but getting the same results. Here is my setup -

    Unity 2019.4.20f
    AR Foundation 4.1.5
    ARKit XR Plugin 4.1.5
    ARKit Face Tracking 4.1.5
    XR Plugin Manager 4.0.1

    I've also tested AR versions - 4.1.3 and 4.1.7

    I'm switching the camera using a custom Camera Config script that is used in the AR Foundations Samples project. Then simply calling arCameraManager.requestedFacingDirection with either User or World.

    Anyone else running into this problem?

    Thanks!
     
    artoonie likes this.
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
    Note from the team:

    This is a warning, not an error.

    This warning occurs when the app drops below the target FPS, which may occur on a configuration switch.