Search Unity

Asset bundles manager memory leak on iOs

Discussion in 'iOS and tvOS' started by rottweiler, Mar 25, 2017.

  1. rottweiler

    rottweiler

    Joined:
    Mar 14, 2011
    Posts:
    18
    Has anyone experience memory leak on iOs with Unity AssetBundles Manager and found solution how to fix it? My case, i load empty scene where i have 20 mb of RAM memory. Then i go to another scene, load assets, instantiate, then destroy everything, unload asset bundles, call Resources.UnloadUnusedAssets, return to previous scene and have there 25 mb of memory. Where i get this extra memory?
     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,562
    You can use the profiler to examine what takes up the extra memory.
     
  3. rottweiler

    rottweiler

    Joined:
    Mar 14, 2011
    Posts:
    18
    Profiler show me nothing. There is no leak in profiler, but they present in XCode.