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

Unity 5.3.4p1 memory leak on iPhone 6 plus and iPad mini2

Discussion in 'iOS and tvOS' started by fishg, Apr 1, 2016.

  1. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    If I switch between tow level. In the Unity profiler you will see Total Allocated memory will increase 20M+(based on how much resources you load on level) in every loaded scene. And will crash when system's free memory is poor. But the strange thing is take memory detail in profiler is looks like normal,not increased,but the value is not equal to Total Allocated. And XCode showed memory is also just normal.

    An other strange thing is the iPhone5 have no this problem.

    Attach image one is first load scene B from scene A,an other is switch 10 times.
     

    Attached Files:

    MrEsquire likes this.
  2. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    Attach XCode Instruments Leaks stack
     

    Attached Files:

  3. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
  4. MrEsquire

    MrEsquire

    Joined:
    Nov 5, 2013
    Posts:
    2,712
    Did you managed to file a bug report, this is a good find if verified :)
     
  5. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    Looks like Unity 5.4 B13 fixed a overrideanimationcontroller memory-leak. Same as my case.
     
    MrEsquire likes this.
  6. fishg

    fishg

    Joined:
    Jul 25, 2014
    Posts:
    90
    @christophergoy
    Is Unity 5.4 B13's overrideanimationcontroller memory-leak patch will merge to Unity 5.3.5?