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

Camera "Blank" - iOS Only

Discussion in 'iOS and tvOS' started by SteveJ, Oct 28, 2012.

  1. SteveJ

    SteveJ

    Joined:
    Mar 26, 2010
    Posts:
    3,066
    Hey guys - I've run into an issue that's got me stumped. Everything in my game WAS working just fine, so this is something new and I don't know what I've done that could possibly have caused it.

    Everything works fine within the Unity editor, but when I build to a device (iPhone, iPad), the main camera is just "blank" - i.e. just a black screen, nothing rendered.

    Again, in the editor it's fine, and on devices it USED to be fine.

    Anyone got any ideas for possible causes?

    Running 3.5.6
     
  2. sama-van

    sama-van

    Joined:
    Jun 2, 2009
    Posts:
    1,723
    From the same project if you create a new scene with a single camera looking at a single cube, does it appears on your i-device?
     
  3. SteveJ

    SteveJ

    Joined:
    Mar 26, 2010
    Posts:
    3,066
    I think it's something to do with the clear flags, but I'm not sure why it only effects iOS and not the editor or web player. Leave it with me for now.

    EDIT: To make that clearer, I have three cameras - main, GUI, and automap.
     
  4. StoneFish

    StoneFish

    Joined:
    Aug 26, 2012
    Posts:
    123
    Maybe then in Unity inspector you have the camera activated, but in (code??) it gets deactivated... just a suggestion (i've done it myself)
     
  5. mattsson

    mattsson

    Joined:
    Sep 13, 2012
    Posts:
    2
    Hi, did you find a fix?
     
  6. minevr

    minevr

    Joined:
    Mar 4, 2008
    Posts:
    1,018
    Texture size >2048?