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. acherkashin

    Nov 03, 2019 17:29

    still reproducible in 2019.2.10f1

  2. steve_dy

    Nov 03, 2019 04:42

    Any fix on this? Having trouble with Unity 2019.2.10 + Catalina OS + XCode 11.2

  3. JungsangE

    Nov 03, 2019 02:04

    This error should be fixed in 2019.2.x version.
    2019.3 version is still on beta test. There are so many bugs and troubles.

    PLEASE fix this bug in 2019.2.x.

    I'm very sick and tired of fixing bugs and errors everytime I update editor version.

  4. sketch7716

    Oct 28, 2019 20:13

    I have same errors and purple display on iPhone11 pro is ios 13.1
    I use Unity 2019.2.5f .
    After this problem, my project is broken.

  5. sketch7716

    Oct 28, 2019 20:13

    I have same errors and purple display on iPhone11 pro is ios 13.1
    I use Unity 2019.2.5f .
    After this problem, my project is broken.

  6. ethqnit

    Oct 28, 2019 15:00

    Changing the "Color Space" option from Gamma to Linear worked for me as well. Im on Catalina OS Unity version 2019.2.10f1

  7. mushdevstudio

    Oct 27, 2019 08:50

    If I change color space to Linear from Gamma it works fine.

  8. konsordo

    Oct 26, 2019 15:31

    I have the same problem! Any fixes?

  9. steviecm

    Oct 26, 2019 11:18

    Any news on this? ARKit and ARFoundation in Unity rely on Metal to work so no work around there that can even allow testing.

    I can't use my MacBook either as ARKit3 only runs on iOS13 and I need Catalina to build to it.

    So all in all, unless anyone knows a way round this, I'm well and truly blocked.

  10. Pawel_Legowski

    Oct 25, 2019 13:03

    For me it got fixed by changing Graphics API from Auto (which was Metal) to OpenGLES3.
    I mean it still throws me errors with some custom shaders but, the built-in shaders work and the build succeds.

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.