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 performance issue on specific iOS devices.

Discussion in 'iOS and tvOS' started by maniacanshul, May 4, 2016.

  1. maniacanshul

    maniacanshul

    Joined:
    May 4, 2016
    Posts:
    3
    Unity 5.3 iOS build performance issue on selected devices.

    Devices Tested on: iPhone4s, iPhone5, iPhone6, iPhone6s, iPad2, iPadMini
    Devices working fine: iPhone4s, iPhone5, iPhone6s, iPad2
    Devices giving low performance: iPhone6, iPadMini

    Tested with unity's active profiler, the Overhead (CPU) is taking average time of 0.4-0.7ms on the working devices. But it takes upto 60-65ms on iPhone6 and iPadMini devices.
    Build tested with both the latest patch release i.e. Unity 5.3.4p5 and the latest beta release i.e. 5.4.0B16, the problem still exists.

    Tried a build with opengl es 2.0 as well, no noticeable difference.

    The problem only exists in iOS build. I have tried on more than 4 android devices ranging from Sony Xperia J (4 years old model), Samsung S3 neo, OnePlus 2. The game works fine on all of them.

    Is there any fix for this issue so far?

    Thread about the same issue: http://forum.unity3d.com/threads/unity-5-2-ios-performance-issues.353646/
    Bug report about the same issue: https://fogbugz.unity3d.com/default.asp?728361_pr79ufas4vfal1dj
     
    NGC6543 and MrEsquire like this.
  2. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
  3. NGC6543

    NGC6543

    Joined:
    Jun 3, 2015
    Posts:
    227
    I also have this performance issue on iPod 5th Gen. In my case iPhone6 has no problem.
    Screenshot.png
    This is a iPod 5G Profiler result.
    As you can see Camera.render took less than 6ms and that's well below 60fps. But that Graphics.PresentAndSync makes my game useless on iPod.
    On iPhone6 the game runs smooth(without Graphics.PresentAndSync)
     
  4. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    Thanks for posting! Is your scene simple as ours? Could you test this simple project here? http://forum.unity3d.com/attachments/simple_test-unitypackage.184807/

    thanks
     
  5. NGC6543

    NGC6543

    Joined:
    Jun 3, 2015
    Posts:
    227
  6. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    Thanks @NGC6543, we tested on iPhone 5C and it runs nice too. The problem for us is on iPad Air, we didn't have the Air 2 to test.
     
  7. Bitvork

    Bitvork

    Joined:
    Aug 31, 2015
    Posts:
    4
    I am experiencing brutal random overhead spikes with iPhone 6 Plus. :-/ Profiler says nothing (empty gap)...