Unity application crashes on iOS due to shader not compiled

前端 未结 3 534
闹比i
闹比i 2021-01-12 19:57

I am trying to build my Unity 5.4.2f2 application for iOS. It is done with no compile errors. But when I try to run the application using Xcode 8.0, it immediately crashes a

相关标签:
3条回答
  • 2021-01-12 20:34

    this Blit shader crash is mostly because of texture compilation, IOs doesnot support dds format textures, if you are using dds textures, replace them with jpeg or any other supported extensions and it will build on IOS safely. worked for me:) after long research.

    0 讨论(0)
  • 2021-01-12 20:39

    Open Unity -> Edit -> Project settings -> Graphics

    Then see Depth Normals under built-in shader setting and Choose option no Support

    Here is Screenshot telling where to do above stuff

    0 讨论(0)
  • 2021-01-12 20:47

    From Edit/Project Settings/Graphics can see always included shaders, see if its there

    Or if you have 3D objects in scene, disable [ ] Motion Vectors from all the mesh renderers.. You can search in hierarchy to see all of them: t:meshrendere

    For me it was the "Motion Vectors" setting (also under Edit/Project Settings/Graphics).

    Reference: https://forum.unity3d.com/threads/hidden-shader-motionvectors.431470/

    0 讨论(0)
提交回复
热议问题