MacOS build compiler error

Avatar
  • updated
  • Fixed

I've been bumping into an build error where:

  • Building for Windows it works just fine
  • Building for MacOS, console gives out "Internal error communicating with the shader compiler process" on all Shapes' shader.

Any idea how to fix this?

Reporting a bug? please specify Unity version:
2019.4.0f1
Reporting a bug? please specify Shapes version:
2.2.0
Reporting a bug? please specify Render Pipeline:
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Fixed

Okay, I think we finally have an answer

  • Using Unity 2020? This shouldn't be an issue. If it still is an issue, even if you update, please open a new bug report here!
  • Using Unity 2019? This bug has recently been fixed in 2019.4 LTS, update your Unity!
    • Bug has been reported in 2019.4.8 and earlier
    • Users have reported it no longer happens in 2019.4.10 and later
  • Using Unity 2018? This bug persist until Unity has backported the fix! Hopefully sooner than later :)

Thanks everyone for trying to figure out this hecking nightmare of an issue! <3

Avatar
dk liao
Quote from Freya Holmér

Okay, I think we finally have an answer

  • Using Unity 2020? This shouldn't be an issue. If it still is an issue, even if you update, please open a new bug report here!
  • Using Unity 2019? This bug has recently been fixed in 2019.4 LTS, update your Unity!
    • Bug has been reported in 2019.4.8 and earlier
    • Users have reported it no longer happens in 2019.4.10 and later
  • Using Unity 2018? This bug persist until Unity has backported the fix! Hopefully sooner than later :)

Thanks everyone for trying to figure out this hecking nightmare of an issue! <3

Hey there, first of all thank you for providing update, for going through this nightmare, and for notifying me.

I can confirm that the problem is indeed fixed in 2019.4.11. Hopefully Unity won't mess up this in the future :)

Avatar
Freya Holmér creator
  • Answer
  • Fixed

Okay, I think we finally have an answer

  • Using Unity 2020? This shouldn't be an issue. If it still is an issue, even if you update, please open a new bug report here!
  • Using Unity 2019? This bug has recently been fixed in 2019.4 LTS, update your Unity!
    • Bug has been reported in 2019.4.8 and earlier
    • Users have reported it no longer happens in 2019.4.10 and later
  • Using Unity 2018? This bug persist until Unity has backported the fix! Hopefully sooner than later :)

Thanks everyone for trying to figure out this hecking nightmare of an issue! <3

Avatar
Freya Holmér creator

hey, so, according to Unity, this should be fixed with the latest 2019 LTS or in 2020.1 versions!

let me know if this fixes the issue :)

Avatar
Freya Holmér creator

for what it's worth, I think some people have managed to get it to work after reimporting all of your project

Avatar
dk liao
Quote from Freya Holmér

this is a really weird one that I have no idea of why it's happening. It seems to be a unity issue that's out of my hands, there's no log or anything that points to what within any given shader could be wrong, it's just the internal process that dies for some reason :c

https://forum.unity.com/threads/build-error-shader-compiler-internal-error-compiling-shader-snippet-type-0-platform-5.404854/

and a potential very hacky possible solution here:

https://forum.unity.com/threads/unity-2019-2-7-build-ios-crashes-in-shader-compile.757754/#post-5093636

I tried switching shader compiler to several versions including that 2019.3 beta version mentioned in the forum post. Sadly none of them works out, guess will just have to wait Unity fix it.

Thanks again.

Avatar
Freya Holmér creator
  • Unity's Fault

this is a really weird one that I have no idea of why it's happening. It seems to be a unity issue that's out of my hands, there's no log or anything that points to what within any given shader could be wrong, it's just the internal process that dies for some reason :c

https://forum.unity.com/threads/build-error-shader-compiler-internal-error-compiling-shader-snippet-type-0-platform-5.404854/

and a potential very hacky possible solution here:

https://forum.unity.com/threads/unity-2019-2-7-build-ios-crashes-in-shader-compile.757754/#post-5093636