Search Issue Tracker

Fixed in Unity 2017.1

Votes

29

Found in

5.6.0f3

Issue ID

899502

Regression

Yes

[Android] [iOS] GLSL shader compilation failure on some mobile devices

Shaders

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 2No workaround

Steps to reproduce:

1) Download attached project 'UnityGLSLBug-Unity522.zip'
2) Build and run 'TestingGLES' scene on a devcie
Note: shader will fail to compile (sphere in a scene will be pink)

Expected result: Shader will be compiled without any issue (check attached image 'expected.png')
Actual result: GLSL shader compilation failure (check attached image 'actual.png')

Regression from:
5.6.0b3

Reproduced with:
5.6.0b3, 5.6.0f3, 2017.1.0b1

Not reproduced with:
5.5.3p1, 5.6.0b2

DUT:

Reproduced with:
GLES2 and GLES3

iPhone 6S iOS10.3

Samsung SM G925F (Galaxy S6 Edge), OS:6.0.1, CPU:arm64-v8a, GPU:Mali-T760, Build:samsung/zeroltexx/zerolte:6.0.1/MMB29K/G925FXXU5DQA7:user/release-keys

Samsung GT N7100 (Galaxy Note 2), OS:4.4.2, CPU:armeabi-v7a, GPU:Mali-400 MP, Build:samsung/t03gxx/t03g:4.4.2/KOT49H/N7100XXUFNE1:user/release-keys

Not reproduced with:

Sony D6603 (Xperia Z3), OS:6.0.1, CPU:armeabi-v7a, GPU:Adreno (TM) 330, Build:Sony/D6603/D6603:5.1.1/23.4.A.1.264/2418263178:user/release-keys

Verizon SM G930V (Galaxy S7 Verizon), OS:7.0, CPU:arm64-v8a, GPU:Adreno (TM) 530, Build:Verizon/heroqltevzw/heroqltevzw:7.0/NRD90M/G930VVRU4BQA2:user/release-keys

Comments (15)

  1. 4a0e4475db997596a6bd8a534a3c883e?d=mm

    AndrewRH

    Jul 17, 2017 16:37

    From Unity: "I have good news, this bug has been fixed and is going to be backported to 2017.1 and 5.6. I'll get back to you as soon as I know which patches will contain the fix." < great :) So hopefully it'll be coming in a patch release soon...

  2. 54ed12f696158bf8d6e5f2b69f67d248?d=mm

    SunriseRH

    Jul 10, 2017 11:25

    Tested on 2017.1.0f1, still appears to be broken.

  3. Aabf8f31568468710f052846b3b07a70?d=mm

    Tom-Goethals

    Jun 28, 2017 06:19

    Issue is still present in 5.6.1p3 and 5.6.2f1

  4. 4d29c7d78bb724701e3bc6eca5eb0142?d=mm

    studentvz

    Jun 08, 2017 07:50

    Instead of I develop more games and make money most time I only track and wait for new Unity releases and fixes, just to realize that when you fix one thing 3 more become broken. Please stop making fixes, thank you.

  5. Aabf8f31568468710f052846b3b07a70?d=mm

    Tom-Goethals

    Jun 07, 2017 11:02

    Issue is still present in 5.6.1p1 and 5.6.1p2

  6. A859701643664a1db92b97d9b05e1416?d=mm

    relativegames

    May 27, 2017 15:40

    It's not just GLSL, vulkan and metal compilation when having dynamically indexed uniforms experience the same issue.

  7. Aabf8f31568468710f052846b3b07a70?d=mm

    Tom-Goethals

    May 19, 2017 15:26

    re-produced on Lenovo P2, Adreno 506.

  8. E6a6cbabad842b3e2b0aed39dc79d3f4?d=mm

    Mandelboxed

    May 09, 2017 07:20

    Fix urgently needed.

  9. 4a0e4475db997596a6bd8a534a3c883e?d=mm

    AndrewRH

    May 08, 2017 14:40

    I think this bug needs higher priority..It is a regression after all :)

  10. 2188f975b194c6c62c13a5ebeab5f1eb?d=mm

    Bomanden

    May 04, 2017 19:30

    Bump , also waiting for a patch.
    Any updates ?

All about bugs

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