Search Unity

Question ARTrackedImageManager has strange performance issue

Discussion in 'AR' started by weroldgames, Sep 1, 2021.

  1. weroldgames

    weroldgames

    Joined:
    Apr 12, 2018
    Posts:
    1
    We try to use ARTrackedImageManager to perform 2D image tracking.
    When it works once(trackedImagesChanged calls once, ARTrackedImagesChangedEventArgs.added list has value) and the app keeps running about 10 minutes without doing other operations, the performance becomes unstable.
    If the app continues running, FPS will go down to under 30.


    Here is our test environment:
    Unity: 2020.2.1f1
    ARFoundation/ARKit: 4.1.7
    iPhone X

    Is this the ARFoundation bug?
    Is there any trick to avoid this issue?
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,820