Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0b16
Issue ID
790557
Regression
Yes
iOS: "Shader compilation failed" error in the log
- Create new empty project
- Build it for iOS (with any backend Mono or IL2CPP)
- Run on a device
- See an error in the xCode log (full error in the attached file)
-------- Shader compilation failed
#version 100
#extension GL_EXT_frag_depth : enable
precision mediump float;
uniform highp vec4 _ProjectionParams;
uniform highp vec4 _ZBufferParams;
uniform highp mat4 unity_CameraToWorld;
....
-------- 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'
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
KidintChile
Apr 15, 2017 15:41
I solved a similar issue, only reducing the size of some 2d sprites, trough override graphics options for iOS, and it works!