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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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!