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. Dismiss Notice

IPhone 5 slow downs.

Discussion in 'iOS and tvOS' started by christougher, Mar 1, 2016.

  1. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    Hi recently just started with IOS builds so I'm new to Xcode and IOS development. I've deployed to an IPhone 5, 6 and and IPad Air 2. The 6 and IPad work flawlessly without game breaking frame rate drops or freezes. The IPhone 5 however starts having hickups real fast and every few seconds will freeze for about a second. How is the best way to debug what is causing the slowdowns (i.e. memory vs processor overload)?
     
  2. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    368
    My guess is that you have a garbage collection problem..as the hiccups appear at an interval...ie when the garbage collection kicks in. So you can use the unity profiler to see...also so read up/google about minimising garbage collection in unity.
     
  3. christougher

    christougher

    Joined:
    Mar 6, 2015
    Posts:
    558
    I de/spawn almost everything using pooling systems, very little instantiating/destruction going on, I have droid phones with similar specs that run it much better, the choppiness on the iPhone 5 is a little bizarre. Thanks tho I'll look into better optimization/garbage collection