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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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!