Search Issue Tracker

Won't Fix

Votes

0

Found in

5.6.0f3

Issue ID

898954

Regression

Yes

[iOS][Shaders] Specific shaders doesn't show; give errors based on selected graphics API

Mobile

-

Reproduction steps:
1. Open the attached project.
2. Build and run it for iOS.
- Notice the errors in the Editor console.
- Notice the errors in the Xcode console.
- Notice, that the shaders doesn't look right(Screenshots attached).

Metal and OpenGLES3:
- Editor console error (shows only on the first run)(Sphere1(Left)):

Sphere1 (on the left) shader error in the editor (this errors appears only after the first build):
Shader error in 'BRA/Toon/Diffuse/Planet02MonumentsNear': Program 'vert_surf', error X8000: D3D11 Internal Compiler Error: Invalid Bytecode: Incompatible min precision type for operand #3 of opcode #29 (counts are 1-based). Expected int or uint. (on metal)
Compiling Vertex program with POINT
Platform defines: UNITY_NO_DXT5nm UNITY_NO_RGBM UNITY_ENABLE_REFLECTION_BUFFERS UNITY_FRAMEBUFFER_FETCH_AVAILABLE UNITY_NO_SCREENSPACE_SHADOWS UNITY_PBS_USE_BRDF3 SHADER_API_MOBILE UNITY_HARDWARE_TIER1 UNITY_COLORSPACE_GAMMA

- Xcode console error(Sphere1(Left):

WARNING: Shader Unsupported: ' ' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: ' ' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: ' ' - All passes removed

- Sphere2(Right) shows no errors, but renders black.

OpenGLES2:

- Sphere1(Left) works well.

- Xcode console error(Sphere2(Right):

GLSL link error: ERROR: Implementation limit of 32 varying components exceeded. Unable to allocate 'xlv_TEXCOORD3'.
(Filename: Line: 759)
Note: Creation of internal variant of shader ' ' failed.
UnloadTime: 5.719833 ms
-------- GLSL link error: ERROR: Implementation limit of 32 varying components exceeded. Unable to allocate 'xlv_TEXCOORD3'.
(Filename: Line: 759)
Note: Creation of internal variant of shader ' ' failed.
-------- GLSL link error: ERROR: Implementation limit of 32 varying components exceeded. Unable to allocate 'xlv_COLOR0'.
ERROR: Input of fragment shader 'xlv_TEXCOORD3' not written by vertex shader
(Filename: Line: 759)
Note: Creation of internal variant of shader ' ' failed.
-------- GLSL link error: ERROR: Implementation limit of 32 varying components exceeded. Unable to allocate 'xlv_COLOR0'.
ERROR: Input of fragment shader 'xlv_TEXCOORD3' not written by vertex shader
(Filename: Line: 759)
Note: Creation of internal variant of shader ' ' failed.
WARNING: Shader Unsupported: ' ' - All passes removed

Reproduced with:
iPhone 6 iOS 10.2.1
5.5.3p1, 5.6.0f3, 2017.1.0b1

Not reproducible with:
Editor, OSX standalone(Metal and OpenGLCore)

Partial regression from(Sphere1(Left) doesn't give any errors on 5.4.5p1):
5.5

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.