I have had this problem for 5 days now, but I am no closer to figuring out how to fix this.
After I build my Game for an IOS device in Unity, I build it in Xcode. It loads the game on my device BUT…
The game will not launch, it just crashes moments after I tap the icon.
I am building off the latest Xcode to an iPad Air and iPhone 5 both on IOS 9.3.2
Here is my Case number (809054)
I built it for the profiler and I get this ERROR in the Console Log
-------- Shader compilation failed
#version 100
#extension GL_EXT_frag_depth : enable
precision highp float;
uniform highp vec4 _ProjectionParams;
uniform highp vec4 _ZBufferParams;
uniform highp mat4 unity_CameraToWorld;
uniform highp mat4 _PreviousVP;
uniform highp sampler2D _CameraDepthTexture;
varying highp vec2 xlv_TEXCOORD0;
varying highp vec3 xlv_TEXCOORD1;
void main ()
{
highp vec4 tmpvar_1;
tmpvar_1 = texture2D (_CameraDepthTexture, xlv_TEXCOORD0);
mediump vec2 tmpvar_2;
highp vec4 tmpvar_3;
tmpvar_3.w = 1.0;
tmpvar_3.xyz = ((xlv_TEXCOORD1 * (_ProjectionParams.z / xlv_TEXCOORD1.z)) * (1.0/((
(_ZBufferParams.x * tmpvar_1.x)
- _ZBufferParams.y))));
highp vec4 tmpvar_4;
tmpvar_4 = (_PreviousVP * (unity_CameraToWorld * tmpvar_3));
highp vec2 tmpvar_5;
tmpvar_5 = (((tmpvar_4.xy / tmpvar_4.w) + 1.0) / 2.0);
tmpvar_2 = (xlv_TEXCOORD0 - tmpvar_5);
mediump vec4 tmpvar_6;
tmpvar_6.zw = vec2(0.0, 1.0);
tmpvar_6.xy = tmpvar_2;
gl_FragDepthEXT = tmpvar_1.x;
gl_FragData[0] = tmpvar_6;
}
-------- failed compiling:
fragment evaluation shader
WARNING: 0:4: extension ‘GL_EXT_frag_depth’ is not supported
ERROR: 0:31: Use of undeclared identifier ‘gl_FragDepthEXT’
Note: Creation of internal variant of shader ‘Hidden/Internal-MotionVectors’ failed.
WARNING: Shader Unsupported: ‘Hidden/Internal-MotionVectors’ - Pass ‘’ has no vertex shader
WARNING: Shader Unsupported: ‘Hidden/Internal-MotionVectors’ - Setting to default shader.
UnloadTime: 5.886416 ms
FSM not Preprocessed: Game Over Manager : FSM
AddEventHandlerComponent: PlayMakerFixedUpdate
FSM not Preprocessed: Controls : FSM
AddEventHandlerComponent: PlayMakerFixedUpdate
FSM not Preprocessed: Ball : FSM
AddEventHandlerComponent: PlayMakerFixedUpdate
FSM not Preprocessed: Ball : FSM
2016-06-25 18:19:40.800 COLOR4MEN[2650:1180300] Initializing Unity Ads version 1506 (Unity 5.4.0b19) with gameId 117496