Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Crash: No valid pixelFormats set

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

  1. mcmorry

    mcmorry

    Joined:
    Dec 2, 2012
    Posts:
    581
    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:
    581
  3. Atlas-Chen

    Atlas-Chen

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

    Mantas-Puida

    Unity Technologies

    Joined:
    Nov 13, 2008
    Posts:
    1,857
    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:
    581
    Bug reported: 829250
     
  6. mcmorry

    mcmorry

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

    Mantas-Puida

    Unity Technologies

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