Search Unity

Feedback ARFoundation 3.x Memory leak!

Discussion in 'AR' started by NSWell, Dec 25, 2019.

  1. NSWell

    NSWell

    Joined:
    Jul 30, 2017
    Posts:
    89
    upload_2019-12-25_17-50-29.png


    Infomation:
    ARFoundation 3.1
    ARKit 3.1
    URP/LWRP 7.1.7

    Device:
    iPhone 11
    iOS 13.3


    The blank scene memory is 180m . (-+2)
    Create AR-Experience the memory is 400+. 300-320 m after removing AR-Experience.Every time AR-Experience is created, it will increase the memory leak by 3-6m.
     
  2. NSWell

    NSWell

    Joined:
    Jul 30, 2017
    Posts:
    89
    Any ideas?
     
  3. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    If you look at the output window, Xcode says there is a leak on the thread and unity will try to clean it up. Not sure if you see that too.
     
  4. mistergreen2016

    mistergreen2016

    Joined:
    Dec 4, 2016
    Posts:
    226
    Try updating to 2019.3. That fixed my memory leak issue.