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

Horrific iPhone 5C Framerate vs. Great iPhone 5S Framerate

Discussion in 'iOS and tvOS' started by plsright, Mar 31, 2016.

  1. plsright

    plsright

    Joined:
    Feb 18, 2014
    Posts:
    2
    For the past few months I've been working on a mobile game for iPhone & Android. All throughout the development process I've tested my game on an iPhone 5S, and my game consistently runs at a smooth 60 FPS, which I specified in a script as the target framerate.

    Just earlier today, I had a friend come over and test out the game on his iPhone 5C. However, the framerate was absolutely awful on the 5C. It was reaching 3 FPS max, and user input was sketchy at best. Any idea as to why this might have occurred? I know that the 5S uses a 64bit architecture but I certainly wouldn't think that it would have that much of an impact. If the issue really is the difference is between 32 & 64bit, I've got some serious optimizations to do, but my game is in no way graphically intense.
     
  2. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    368
    That is a big difference so I suspect you are doing something specific that takes out the 5c.

    I'd say dig a little with the profiler...and you can also google a little about general script optimisations in unity and look through the scripts that gets updated every frame so you don't do anything unnecessary.

    It's hard to say if you are doing anything with the graphics, unless you post a screenshot. Even if the game itself is not graphically intense as such you might be using some setting that absolutely kills it on 5C
     
  3. plsright

    plsright

    Joined:
    Feb 18, 2014
    Posts:
    2
    Good advice. I've got a lot of searching to do and the profiler is the right place to start.
     
  4. sfjohansson

    sfjohansson

    Joined:
    Mar 12, 2013
    Posts:
    368
    Have fun! One thing that differs... also... is that the 5s uses the metal graphics API by default while the 5C uses openGL as it does not support it, although the result has so for been that metal is "slower" in a funny way.

    One performance killer could also be image effects on the camera..so even if you have just a cube... =O