Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct here to familiarize yourself with the rules and how to post constructively.

  2. Unity 2022.1 is now available as the latest Tech release.
    Dismiss Notice
  3. Improve your project's performance with our new guide on profiling in Unity.
    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:
    580
    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:
    580
  3. Atlas-Chen

    Atlas-Chen

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

    Mantas-Puida

    Unity Technologies

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

    mcmorry

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

    Mantas-Puida

    Unity Technologies

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