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

Display not updating on iPad Air, iPhone 5S, or iPad Mini Retina

Discussion in 'iOS and tvOS' started by dpkonofa, Apr 18, 2014.

  1. dpkonofa

    dpkonofa

    Joined:
    Nov 6, 2012
    Posts:
    16
    Hey guys:

    I've got a Unity game that we're working on that works fine when run on an iPhone 5, iPhone 4S, iPad Mini, and iPad 3 but doesn't work on the iPad Air, iPhone 5S, or iPad Mini Retina. It looks like the devices that aren't working are all running on an A7 chip but that's about the only thing I can think of that they have in common. The game displays the Unity loading screen on run, plays the first rendered frame, and then stops rendering on these devices. The weird thing is that Xcode shows the app as still running. There are no exceptions or crashes, frame-rate is holding steady, and memory and CPU usage are steady. Even the sound on the game can be heard, but there's no video update. Has anyone experienced this? This just recently started happening and I can't, for the life of me, figure out what's going on...

    Help!

    Thanks in advance...

    Derek
     
  2. Agent_007

    Agent_007

    Joined:
    Dec 18, 2011
    Posts:
    899
    Do you e.g. use any special rendering tricks? Or call any third party plugins in your code?
     
  3. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    Please submit a bugreport with repro project attached to it.
    Thanks!
     
  4. dpkonofa

    dpkonofa

    Joined:
    Nov 6, 2012
    Posts:
    16
    What's the best way to submit the project to you? Dropbox link or what?
     
  5. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,864
    In Unity Editor menu just pick Help->Report a bug. By default it will attach currently open project.
     
  6. kalua66

    kalua66

    Joined:
    Feb 3, 2013
    Posts:
    13
    are you using Screen.SetResolution?

    I had problems with those devices because of that...
     
  7. Turnopia-com

    Turnopia-com

    Joined:
    Apr 1, 2014
    Posts:
    6
    Hi,

    Any update on this? My game is working fine on all the iPads people have tested except for the iPad Air, exactly the same problem described here. Using unity 4.3.4 right now. Not using SetResollution at all
     
    Last edited: Jun 4, 2014
  8. dpkonofa

    dpkonofa

    Joined:
    Nov 6, 2012
    Posts:
    16
    Our issue ended up being a check for specific models of devices. We were determining high/low quality flags based on the device and, as soon as the game reached that if/else branch, it would crash as Unity did not have definitions for the new devices. Now that they do, our issue has been resolved. Sorry if that's not much help to you. :-/
     
  9. Turnopia-com

    Turnopia-com

    Joined:
    Apr 1, 2014
    Posts:
    6
    I have solved this by updating to v4.5
    the version's change log says, for open GL 3.0:
    "-fixed first frame being corrupted."
    I guess this was the problem.
     
  10. Agent_007

    Agent_007

    Joined:
    Dec 18, 2011
    Posts:
    899
    OpenGL ES 3.0 for iOS wasn't available in 4.3 series.