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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

iOs - Crashes on launch when Metal is enabled on iOs 9.2.1 (Unity 5.3.2p2)

Discussion in 'Editor & General Support' started by fcloss, Feb 18, 2016.

  1. fcloss

    fcloss

    Joined:
    Dec 1, 2011
    Posts:
    191
    The following error occurs in iPhone 6 and iPad Pro:

    /BuildRoot/Library/Caches/com.apple.xbs/Sources/Metal/Metal-55.2.6.1/Framework/MTLRenderPipeline.mm:992: failed assertion `sampleCount (8) is not supported by device.'

    Using Unity 5.3.2p2. Metal and OpenGL ES are enabled. Auto Graphics API selected.

    If Metal is removed, it works but GL ES is extremely laggy on iOs 9.2.1

    iPhone 6 and iPad Pro has a list of previous problems with Graphics AI:

    5.3.2 - Black screen
    5.3.2p1 - Hangs on launch screen
    5.3.2p2 - Hangs fixed but Metal needs to be removed, otherwise it crashes.

    EDIT: Removing antialias on render textures which was set to 8 fixed crash. But Black screen is back =Z

    This post has the same problem: http://forum.unity3d.com/threads/im-a-bit-confused-about-skinned-mesh-renderer.385951/

    Thanks for the support.

    Regards,
    Fernando
     
    Last edited: Feb 18, 2016
  2. ottolb

    ottolb

    Joined:
    Jul 1, 2009
    Posts:
    42
    We had a similar issue with iOS + Metal and Shader Preloading using Unity 5.4.0 Beta15. So basically disabling shader preloading on Graphic Settings solved for us.
    Another problem that cause a black screen is to SetResolution, but can't remember exactly which Graphic API was..