- Home /
How to get IOS build to not fail with Shader Errors? FXAA (Hidden Shader related)
Building my project to Android and IOS. So far, Android is happy, but when I build for IOS using Unity 2017.4.1 in High Sierra, I get this message and the build fails with these 3 errors:
Shader error in 'Hidden/Post FX/FXAA': failed to open source file: 'UberSecondPass.cginc' (on metal)
Shader error in 'Hidden/Post FX/FXAA': failed to open source file: 'UberSecondPass.cginc' (on gles)
Shader error in 'Hidden/Post FX/FXAA': '' : Include callback failed at line 14 (on gles)
(More info below)
Compiling Vertex program
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_ENABLE_NATIVE_SHADOW_LOOKUPS UNITY_NO_CUBEMAP_ARRAY UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF2 SHADER_API_MOBILE UNITY_HARDWARE_TIER2 UNITY_COLORSPACE_GAMMA UNITY_LIGHTMAP_DLDR_ENCODING
After searching the forums/online, I have opened the shader's code itself, but don't see the problem. The file itself exists... Perhaps you can point me in the right direction?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612172442im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Shader Fails to Compile on iOS: GL_EXT_frag_depth 2 Answers
IOS conversion Xcode not launching 0 Answers
Reflections not working on IOS 2 Answers