Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Unity 2019.2.7 build iOS crashes in Shader Compile

Discussion in 'iOS and tvOS' started by IndieFist, Oct 9, 2019.

  1. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    521
    Hi. I was trying to do a build with Unity 2019.2.7f2 and got some crashes in shader while doing a build for iOS:
    Shader compiler: Compile Standard - FORWARD, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.
    Shader compiler: Compile Standard - ShadowCaster, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.
    Shader compiler: Compile Standard - FORWARD_DELTA, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.

    etc...
    Should I use for iOS Color Space Gamma and inside autographs only Metal?
     
    Last edited: Oct 9, 2019
  2. The_Arrival

    The_Arrival

    Joined:
    Dec 3, 2014
    Posts:
    82
    Same here...

    crashes compiling shaders with those messages, or silent hang-ups during compiling shader variants.
    It also crashes in 2019.2.8f1 + 2019.2.9f1
     
    IndieFist likes this.
  3. UDN_160ab442-bc93-4a67-be59-8af37982bb40

    UDN_160ab442-bc93-4a67-be59-8af37982bb40

    Joined:
    Oct 15, 2018
    Posts:
    1
  4. GL8666

    GL8666

    Joined:
    Jul 12, 2018
    Posts:
    5
    Same here...
     
    IndieFist likes this.
  5. firehot

    firehot

    Joined:
    Mar 30, 2015
    Posts:
    3
    Same here...
     
    IndieFist likes this.
  6. The_Arrival

    The_Arrival

    Joined:
    Dec 3, 2014
    Posts:
    82
    Might help to mention that i´m working in macOS and i have also just upgraded to Catalina
     
    IndieFist likes this.
  7. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    521
    Yes, I forgot to say this important information.
    I have tested unity 2019.3 in CatalinaOS and might be solved this problem, but right now Unity Team are working in the issue about Catalina OS
     
    The_Arrival likes this.
  8. The_Arrival

    The_Arrival

    Joined:
    Dec 3, 2014
    Posts:
    82
    I´m also working on 2019.3(beta) right now, since i need to publish an update asap. Shader compilation works indeed, But it brings a whole new bunch of issues to solve and building a prod app with a beta buildof unity seems flaky to say the least
     
  9. peachpieproductions

    peachpieproductions

    Joined:
    Sep 2, 2017
    Posts:
    17
    Hey guys, I found a solution to this problem without upgrading to the beta

    Just change the color mode to "Linear" from "Gamma"
     
    Nomibuilder likes this.
  10. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    521
    My problem is when change from linear to gamma, also with linear you can't support opengl2 and alot of devices are using this library
     
  11. agmaster

    agmaster

    Joined:
    Sep 16, 2015
    Posts:
    7
    Dear friends! This solution for Catalina OS works fine for me. Just replace UnityShaderCompiler file from 2019.3 beta to your 2019.2 (in my case 2019.2.9f1) Delete /Library folder and restart Unity Tools 2019-10-22 18-09-55.png Tools 2019-10-22 18-09-55.png
     
    Q-Ted, longsl, bourriquet and 23 others like this.
  12. almagames

    almagames

    Joined:
    Jun 29, 2015
    Posts:
    1
    Thanks a lot! It’s working in my case!
     
    IndieFist likes this.
  13. FlorentFal

    FlorentFal

    Joined:
    Nov 20, 2015
    Posts:
    55
    Works for me too !
     
  14. Soulghai

    Soulghai

    Joined:
    Mar 24, 2016
    Posts:
    15
    It works for me too.
     
  15. Mskis

    Mskis

    Joined:
    Jun 5, 2018
    Posts:
    1
    It works for me too. Thank!
     
  16. jerryhamk

    jerryhamk

    Joined:
    Jun 4, 2019
    Posts:
    5
    This solved my problem. Creating projects under 2019.3.0b10 works just fine too. Thanks a lot!
     
  17. merpheus

    merpheus

    Joined:
    Mar 5, 2013
    Posts:
    202
    Didn't work for me. I still see the pink screen :(
     
    golina and tanitabassum299 like this.
  18. richard_daimler

    richard_daimler

    Joined:
    Nov 6, 2017
    Posts:
    5
    Thanks for your workaround!
     
  19. AdamLiu

    AdamLiu

    Joined:
    Mar 19, 2014
    Posts:
    71
    Great workaround, works like a charm!
     
  20. vaices1974

    vaices1974

    Joined:
    Feb 4, 2019
    Posts:
    3
    Thank you for this solution. Shaders are back again.
     
  21. Nomibuilder

    Nomibuilder

    Joined:
    Apr 24, 2014
    Posts:
    22
    Just remove Library Folder and Reimport Assets. it will resolve the pink screen issue. :)
     
  22. Nomibuilder

    Nomibuilder

    Joined:
    Apr 24, 2014
    Posts:
    22
    In case If anybody is looking for UnityShaderCompiler From Unity_2019.3.0 BETA.
    Here it is. :)
     

    Attached Files:

  23. Excellent_Illusion

    Excellent_Illusion

    Joined:
    Jan 11, 2018
    Posts:
    1
    Replacing UnityShaderCompiler did help, thank you! And special thanks to @Nomibuilder for shared file, because it took some time before I could find it as I first found this solution in another thread.
     
    Nomibuilder likes this.
  24. StFlorescu

    StFlorescu

    Joined:
    Oct 5, 2018
    Posts:
    1
    Thank you very much!
     
    Nomibuilder likes this.
  25. mrblasto

    mrblasto

    Joined:
    Dec 2, 2016
    Posts:
    5
    This solved my problem too but I did notice a difference a difference in the splash screen between Unity 2019 2.12 with the 3.0 shader compiler and 2019 3.0. On the 2.12 with 3.0 compiler the splash started at around 50% bigger then shrunk to normal size while on 3.0 started and stayed at normal size. Not much of a difference but suggests there might be other problems using 2.x with the 3.0 shader compiler.
     
    Nomibuilder likes this.
  26. ivantoy

    ivantoy

    Joined:
    Apr 26, 2018
    Posts:
    1
    Same problem too, and i already overwrite de shader compiler, someone still have the problem?
     
  27. wechat_os_Qy0yjOhnMvN1vOTRN1TqwhMoA

    wechat_os_Qy0yjOhnMvN1vOTRN1TqwhMoA

    Joined:
    Dec 12, 2019
    Posts:
    1
    Hey, just try to use Opengl3 first.
    We change the graphics APIs to opengl3, and then the build is OK now!
    We use 2019.2.15f on catalina.
     
  28. Phanton28

    Phanton28

    Joined:
    Nov 21, 2014
    Posts:
    6
    Thank you so much, This has saved me so much time.
     
  29. Doppio_movimento

    Doppio_movimento

    Joined:
    Jan 9, 2016
    Posts:
    12
    This worked for me too, macOS 10.15.2 and Unity 2019.2.5. Good find.
     
  30. LuckyHamster

    LuckyHamster

    Joined:
    Oct 28, 2014
    Posts:
    50
    Where do I find the UnityShadeCompiler file for 2019.2? I am using 2019.2.16f1 and am having the Shader compiler problems.
     
    nir11 likes this.
  31. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    @Nomibuilder and @agmaster - thank you for helping me into this :)
    In Unity 2019.2.11f1 version, I was getting this problem and I got a solution after using your opinion.
     
  32. phil_unity714

    phil_unity714

    Joined:
    Dec 12, 2018
    Posts:
    2
    I encountered this problem myself using 2019.2.15. Seems like it was properly fixed in 2019.2.17 invalidating continuing need for the compiler replacement workaround
     
  33. hotcarl

    hotcarl

    Joined:
    Aug 21, 2017
    Posts:
    18
    Not working for me. No idea where Unity is installed on my Mac. Absolutely frustrating, guys. Please fix this.
     
    siddharth3322 likes this.
  34. siddharth3322

    siddharth3322

    Joined:
    Nov 29, 2013
    Posts:
    1,049
    yes, you are right complete frustrating - how this kind of mistake can happen that I can't able to understand!!!
     
  35. Algebrainer

    Algebrainer

    Joined:
    Apr 7, 2019
    Posts:
    2
    Thanks man! Worked great for me!
     
  36. V890

    V890

    Joined:
    Jul 15, 2019
    Posts:
    3
    Please tell the newbie which folder / Library should be deleted?
     
  37. PsychoPsam

    PsychoPsam

    Joined:
    Aug 1, 2012
    Posts:
    34
    I'm stumped as well. I can't find this folder on my Mac. I can't get into the Unity part of the URL - it just opens Unity.
    [EDIT] Found out how to show the contents on Unity - Right click on it and click on Show Package Contents.
     
    Last edited: Jun 18, 2020
  38. hotcarl

    hotcarl

    Joined:
    Aug 21, 2017
    Posts:
    18
    FYI, I started using a new version of Unity, and the problem went away. I
    1. Did an export of my entire project
    2. Made a brand new Unity project with the latest version of Unity.
    3. Imported my project into the newer version build.