Search Issue Tracker

Fixed in 2020.1.X

Fixed in 2019.2.X, 2019.3.X

Votes

136

Found in

2019.2.5f1

Issue ID

1185078

Regression

Yes

[iOS][OpenGLES2] Getting "Internal error, unrecognized message" when building

iOS

-

To reproduce:
1. Create a new project
2. Add a 3D Cube to a scene
3. Build for iOS
4. Observe errors in the console :
"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."
5. Deploy the Xcode project to iOS device
6. Observe the crash at: "UnityGfxDeviceWorker (33): EXC_BAD_ACCESS (code=1, address=0x0"

Expected: the project is built without any issues
Actual: getting shader errors in the console while building the project and built project crashes on launch

Reproduced on:
2019.2.7f2

Regression introduced in:
2019.2.5f1

Not reproduced on:
2017.4.32f1 2018.4.10f1 2019.2.4f1 2019.3.0b4 2020.1.0a5

Crash reproduced on these devices:
- iPhone 7 iOS 12.3.1
- iPad Pro 12.9' (2nd gen) iOS 11.2.1

Getting only a black screen on these devices:
- iPad Mini 2 iOS 11.4.1
- iPad 5th gen iOS 10.3.3

Notes:
- Attaching Editor.log for console errors
- Doesn't reproduce on Android VLNQA00015, Samsung Galaxy Note8 (SM-N950W), Android 8.0.0, CPU: Snapdragon 835 MSM8998, GPU: Adreno (TM) 540
- Reproduced on Metal, OpenGLES2
- Doesn't reproduce on OpenGLES3
- When building with OpenGLES2 getting a black screen with a grey SPHERE (sphere.png) even though there was only a CUBE in the scene
- When building for a second time, getting a pink screen in an iOS device

Comments (54)

  1. triggullberg

    Nov 12, 2019 19:27

    The issue was fixed for me when I set the Color Space to Linear and removed OpenGLES from Graphics APIs. I am running Catalina, Unity 2019.2.11f1 and Xcode 11.2.1.

  2. juanfornos

    Nov 12, 2019 15:00

    As a workaround, what worked for me in Unity 2019.2.12f1 is using the UnityShaderCompiler binary from the the 2019.3.0b10 version (located at /Applications/Unity/Hub/Editor/{UNITY_VERSION}/Unity.app/Contents/Tools).

  3. AllanRW

    Nov 12, 2019 13:39

    Forgot to say that I'm building for Android

  4. AllanRW

    Nov 12, 2019 13:35

    I can't upgrade a project from 2019.1.10f1 to 2019.2.x because of this shader compiler errors...

    macOS Catalina
    Unity 2019.2.12f1

  5. Radegast

    Nov 11, 2019 22:13

    Instead of compiler errors when building I have a grayscale screen and crash on game start. Also, Unity is crashed after switching from Gamma to Linear.

    macOS Catalina
    Unity 2019.2.12f1

  6. petediddy

    Nov 11, 2019 20:49

    We have same issue as others on here when building for Android, using 2019.2.6 and 2019.2.11 on Catalina. Lots of shader compiler errors and pink everywhere when we run the game on a device. Tried on 2019.3 beta and this issue is not present there, but there are other issues that keep us from publishing using the beta version. Please fix on 2019.2.x

  7. bachirk_unity

    Nov 09, 2019 09:17

    2019.2.11f1 is Also crashing every time I change from Gamma to Linear.

    This is a real blocker and our entire iOS production has come to halt :(

  8. hazel_koop

    Nov 05, 2019 22:35

    Unity Editor is crashing every time I change from Gamma to Linear; are there any other workarounds for the time being?

  9. ziemlich3D

    Nov 04, 2019 09:21

    We are also encountering this problem. Our project currently uses 2019.2.10f1.
    Switching from "Gamma" to "linear", as MushDevStudio wrote, makes it possible to build the app, but this can only be done for testing/developing. For a store-release this is no option, along with building it with the 2019.3 beta.
    We need a fix, as this is a real showstopper for most of us.

  10. PutsieGames

    Nov 03, 2019 23:07

    Still have this problem on 2019.2.11f1 :(

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.