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

Question AR App crashed after 10-12 minutes

Discussion in 'AR' started by Yiyan-THW, May 21, 2021.

  1. Yiyan-THW

    Yiyan-THW

    Joined:
    Feb 5, 2021
    Posts:
    1
    Hi,

    I'm trying to develop an AR App in android with Unity AR Foundation.

    I've added a tracked image prefab with 4 objects for image tracking. The App runs smoothly in the beginning but will get a frozen screen after 10 - 12 minutes. Accroding to Profiler Tablet CPU usage jumps from 1-10 ms to 1400 ms and more (40s). The top 3 events are: "EarlyUpdate.PresentBeforeUpdate", "Graphics.PresentSync" and "Device.Present". I don't know what these three events represent. Details see picture

    I also tried to build a new project with simple AR scene without any script, but this problem still exists.

    Any help is appreciated

    Unity version: 2021.1.2f1
    device: Samsung S6 Lite with Android-version 11
     

    Attached Files:

  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,787
  3. Ikaro88

    Ikaro88

    Joined:
    Jun 6, 2016
    Posts:
    278
    do you find a solution?