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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Question Addressables has a huge memory leak in editor when in some play mode

Discussion in 'Addressables' started by shooker2012, Nov 4, 2020.

  1. shooker2012

    shooker2012

    Joined:
    May 11, 2017
    Posts:
    5
    Platform: Windows
    Unity Editor Version: 2019.4.0f1
    Addressables Version: 1.8.5
    Play Mode Script: Use Asset Database(faster)

    When run a scene and stop in Editor, the memory will increase almost 400M.Use memory profile, It's "MonoDomain" memory increase.I try it in a empty scene, it still happened.
    If change "Play Mode Script " to "Simulate Groups(advanced)", the memory leaks are getting worse.
    But If chang to "Use Existing Build", it's fine.
    The memory leak is only in editor.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,796
  3. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,796
    After talking with the team, it was suggested you update to Addressables 1.16.8. If that doesn't work, definitely get that bug report in. :)
     
  4. shooker2012

    shooker2012

    Joined:
    May 11, 2017
    Posts:
    5
    Only find 1.16.7 in package manager, and It's not fixed.
    I found may be it associated with some prefab or asset that's addressabled in my project. But it's not easy to export and send a bug report.
     
  5. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,796
    Whoops! Sorry, I meant 1.16.7. If updating didn't fix, a bug report would be really helpful in trying to figure out what's going on.