Search Unity

Crash: No valid pixelFormats set

Discussion in 'iOS and tvOS' started by mcmorry, Aug 16, 2016.

  1. mcmorry

    mcmorry

    Joined:
    Dec 2, 2012
    Posts:
    579
    Before Unity 5.4 I was able to set a lower resolution on iOS to always stay at max 300 ppi.

    Building now on the new version I have an exception. Here a part of the output:

    ----------
    Init: screen size 1136x640
    Initializing Metal device caps: Apple A7 GPU
    Initialize engine version: 5.4.0f3 (a6d8d714de6f)

    PPI: 326 - Target PPI:300
    Setting resolution: 1045x588

    /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-56.7/Framework/MTLRenderPipeline.mm:1061: failed assertion `No valid pixelFormats set.'
    ----------

    Is it a bug? Or is by design?
     
  2. mcmorry

    mcmorry

    Joined:
    Dec 2, 2012
    Posts:
    579
  3. Atlas-Chen

    Atlas-Chen

    Joined:
    Feb 23, 2013
    Posts:
    2
  4. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,851
    Issue #798292 was happening only on 5.5 alpha.. Could you please submit separate bugreport for your issue?
    Thanks!
     
  5. mcmorry

    mcmorry

    Joined:
    Dec 2, 2012
    Posts:
    579
    Bug reported: 829250
     
  6. mcmorry

    mcmorry

    Joined:
    Dec 2, 2012
    Posts:
    579
  7. Mantas-Puida

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,851
    The fix is scheduled for patch 5.4.1p1. Fingers crossed :)
     
    mcmorry likes this.