Unity application crashes on iOS due to shader not compiled

前端 未结 3 611
闹比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: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/

提交回复
热议问题