• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by kosted · Dec 07, 2017 at 02:40 PM · shaderiosxcode

IOS : extension 'GL_EXT_frag_depth' is not supported

Hi Unity community. I export my project on Mac to deploy on IOS, but i'm facing a terrible issue. The game crashes, after splash screen, and in the log I have this error :

 -------- Shader compilation failed
 #version 100
 #extension GL_EXT_frag_depth : enable
 precision highp float;
 uniform sampler2D _MainTex;
 uniform highp sampler2D _DepthTex;
 uniform highp vec4 _Color;
 varying highp vec2 xlv_TEXCOORD0;
 void main ()
 {
   lowp vec4 tmpvar_1;
   tmpvar_1 = (texture2D (_MainTex, xlv_TEXCOORD0) * _Color);
   gl_FragDepthEXT = texture2D (_DepthTex, xlv_TEXCOORD0).x;
   gl_FragData[0] = tmpvar_1;
 }
 -------- failed compiling:
 fragment evaluation shader
 WARNING: 0:4: extension 'GL_EXT_frag_depth' is not supported
 ERROR: 0:14: Use of undeclared identifier 'gl_FragDepthEXT'
 
 Note: Creation of internal variant of shader 'Hidden/BlitCopyWithDepth' failed.
 WARNING: Shader Unsupported: 'Hidden/BlitCopyWithDepth' - Pass '' has no vertex shader
 WARNING: Shader Unsupported: 'Hidden/BlitCopyWithDepth' - Setting to default shader.
 WARNING: Shader Unsupported: 'Hidden/VR/BlitTexArraySlice' - Pass '' has no vertex shader
 WARNING: Shader Unsupported: 'Hidden/VR/BlitTexArraySlice' - Setting to default shader.
 Setting up 1 worker threads for Enlighten.
   Thread -> id: 700001b8a000 -> priority: 1 
 UnloadTime: 1.018084 ms
 dyld: lazy symbol binding failed: Symbol not found: _UnityAdsSetReadyCallback
   Referenced from: /Users/kosted/Library/Developer/CoreSimulator/Devices/18976395-88FA-4F72-83C2-AF7736AA173D/data/Containers/Bundle/Application/A55D0694-B554-4482-B0CA-E48EF45D134D/studio.app/studio
   Expected in: flat namespace
 
 dyld: Symbol not found: _UnityAdsSetReadyCallback
   Referenced from: /Users/kosted/Library/Developer/CoreSimulator/Devices/18976395-88FA-4F72-83C2-AF7736AA173D/data/Containers/Bundle/Application/A55D0694-B554-4482-B0CA-E48EF45D134D/studio.app/studio
   Expected in: flat namespace
 
 (lldb) 

I tried many solution by setting Depth normals into "no support" for example, but still have the same issue. How could I resolve it please ?

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image adarshmapbox · Jan 18, 2018 at 11:51 PM 0
Share

@kosted Did you find a resolution to this issue?

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by kosted · Jan 19, 2018 at 12:09 AM

I desactivate Unity ads and download the package from the asset store.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by lexi89puzzle · Jun 28, 2018 at 02:25 PM

@kosted Did you resolve this? Experiencing it here as well :)

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image kosted · Jun 28, 2018 at 04:01 PM 0
Share

@lexi89puzzle yes, It was unity ads who was the origin of the issue. You as I said I deactivate Unity ads and download the package from the asset store.

avatar image
0

Answer by mapbox · Jun 28, 2018 at 03:35 PM

@lexi89puzzle Try using Metal from Autographics API setting under build settings. Remove OpenGL form the list

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

191 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Can't find shader on iOS - GpuProgram creation error: shader program type is unrecognised. 2 Answers

iOS game loaded but stucked on splash screen 1 Answer

xcode - linker command failed with exit code 1 8 Answers

Crazy high RAM usage on IOS 0 Answers

IOS Vuforia Shader Issue 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges