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. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Feedback ARFoundation 3.x Memory leak!

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

  1. NSWell

    NSWell

    Joined:
    Jul 30, 2017
    Posts:
    87
    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:
    87
    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.
     
unityunity