Unknown shader compiler error using Unity 2019.2.8f1 when building iOS

Hi I encountered shader compiler error using Unity 2019.2.8f1 when building iOS app in MacOS Catalina.

Here’s the error log:

However, when I tried building using Unity 2018.4.10f1, everything just works. Is it a bug in Unity 2019 or there’re new changes that cause this error?

p/s: I’m using custom shader and built-in shader such as standard and mobile shaders

1 Like

I have same issue.
2019.2.6 on macOS Mojave works correctly. 2019.2.8 on macOS Catalina has same issue.

I don’t use home made shader, I’m using only post processing stack and shaders in standard assets.

Same issue, with Unity 2019.2.8f1 on Catalina, when building to Android…

1 Like

Hello! Could you please submit a bug report with a minimal reproduction project for this issue and reply in here with the issue ID?

As minimal as it can get, just a blank new project only with TextMesh Pro essential resources package imported.
Issue ID: 1190831

1 Like

On a side note I’ve just tested with 2019.3.0b6 and everything seems to be working fine, so it must be something on the 2019.2.x branch.

Same issue with 2019.2.8f1…, any updates?

As I posted above, Unity 2019.3.0b6 is working correctly with the same setup & project.

So, I’ve tried replacing UnityShaderCompiler with the one from b6 and guess what, everything seems to be working now. Tested this with 2019.2.8f1 & 2019.2.9f1

For now, that’ll be enough for me to keep working while Unity provides an official fix…

2 Likes

How you replace UnityShaderCompiler? Where its location? Ths

It’s at Applications/Unity/Hub/Editor/2019.2.9f1/Unity/Contents/Tools/UnityShaderCompiler

1 Like

Same issue here. Can also confirm it works with 2019.3 but not any of 2019.2.7f2, 2019.2.8f1, 2019.2.9f1. Works fine on Mojave, but not on Catalina.

I have Unity 2019.2.9f1 and Catalina 10.15 beta
This problem with shaders is very strange. My first attempt to build my project failed with ~72 shader compiler errors. I didn’t change anything and just pressed the build button again. Only two errors remain. I made a third attempt - all error gone…

However I still have “shader unsupported” errors on my iOS device.

Same issue here.

@AytoMaximo Yeah, building again goes through, but the app doesn’t run on the device, with lots of missing/unsupported shader errors.

I have same issue with unity 2019.2.9f1 and macOS Catalia 10.15.

same issue here. 2019.2.9f1 on Catalina 10.15. No errors in my project at all, but when compiling after 20 seconds 300 errors with these shader errors pop up. Friend manages to build without problem on his Windows PC. Build always succeeds and builds in xcode without issues.

When launching on iPhone XS iOS 13.1 its all pink.

It appears this error is relatively new since everyone just reported it through the forums the past week, all with the same platform, same version OS. Guess we’ll have to wait for a dev to respond.

1 Like

Same here (tvOS also). I’ve replaced UnityShaderCompiler with the UnityShaderCompiler from 2019.3.0b7 and it helps. PixelEnvision thanks for the tip. Hope will be fixed soon.

Can confirm, this works. The only solution for me so far since I cannot downgrade the mac to Mojave, personal files not belonging to me on it.

Hope to hear from the devs soon about the progress on this.

I’m experiencing the same issue and filed a bug case #1192279 with a very simple project that reproduces the issue.

Recreating the same project in 2018.4 LTS and everything works as expected.

2 Likes

I change UnityShaderCompiler and build success but run game on Iphone game show a black screen only.
I can still click the button and still sound :frowning: