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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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!