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

    Oct 15, 2019 11:48

    Same issue MacOs Catalina 2019.2.6 when build addressables assets

  2. pmb45

    Oct 15, 2019 08:01

    I get a similar issue when building for Android on OSX 10.15 Catalina in Unity 2019.2.8f1:

    Shader compiler: Compile UI/Additive - Default, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 156176384
    Message: cb: 80 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

  3. JamesBaud007

    Oct 12, 2019 21:43

    I did not have any issues when running Unity 2018.3.0; this issue appeared when I upgraded to 2019.2.8. I also reproduced it on 2019.2.9. For me, it only occurs when running Unity in batch mode from the command line. I have even tried building it on various Macs, but the issue is still present. There does not seem to be any workaround. My log is flooded with internal shader compiler errors (the log was truncated in order to post the comment):

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.
    UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:368)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:267)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:250)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:245)
    Build.Editor.AutoBuilder:GenericBuild(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets/Scripts/Build/Editor/AutoBuilder.cs:69)
    Build.Editor.AutoBuilder:MakeiOSDevelopmentBuild() (at Assets/Scripts/Build/Editor/AutoBuilder.cs:31)

    [./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp line 454]
    (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 368)

    Thread: 637754688
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 13131776
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.
    UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:368)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:267)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:250)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:245)
    Build.Editor.AutoBuilder:GenericBuild(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets/Scripts/Build/Editor/AutoBuilder.cs:69)
    Build.Editor.AutoBuilder:MakeiOSDevelopmentBuild() (at Assets/Scripts/Build/Editor/AutoBuilder.cs:31)

    [./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp line 454]
    (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 368)

    Thread: 637754688
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12595200
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12595200
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12595200
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.
    UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:368)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:267)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:250)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:245)
    Build.Editor.AutoBuilder:GenericBuild(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets/Scripts/Build/Editor/AutoBuilder.cs:69)
    Build.Editor.AutoBuilder:MakeiOSDevelopmentBuild() (at Assets/Scripts/Build/Editor/AutoBuilder.cs:31)

    [./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp line 454]
    (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 368)

    Thread: 637754688
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.
    UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:368)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:267)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:250)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:245)
    Build.Editor.AutoBuilder:GenericBuild(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets/Scripts/Build/Editor/AutoBuilder.cs:69)
    Build.Editor.AutoBuilder:MakeiOSDevelopmentBuild() (at Assets/Scripts/Build/Editor/AutoBuilder.cs:31)

    [./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp line 454]
    (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 368)

    Thread: 637754688
    Message: cb: 272 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.
    UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions, Boolean)
    UnityEditor.BuildPipeline:BuildPlayerInternal(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:368)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, String, BuildTargetGroup, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:267)
    UnityEditor.BuildPipeline:BuildPlayer(BuildPlayerOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:250)
    UnityEditor.BuildPipeline:BuildPlayer(String[], String, BuildTarget, BuildOptions) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs:245)
    Build.Editor.AutoBuilder:GenericBuild(String[], String, BuildTargetGroup, BuildTarget, BuildOptions) (at Assets/Scripts/Build/Editor/AutoBuilder.cs:69)
    Build.Editor.AutoBuilder:MakeiOSDevelopmentBuild() (at Assets/Scripts/Build/Editor/AutoBuilder.cs:31)

    [./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp line 454]
    (Filename: /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline.bindings.cs Line: 368)

    Thread: 637754688
    Message: cb: 272 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 272 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12595200
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 13131776
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 272 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    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.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12058624
    Message: cb: 32 2
    Platform: gles
    Keywords: UNITY_NO_DXT5nm

    Shader compiler: Compile Standard - DEFERRED, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 13131776
    Message: cb: 20 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

    Shader compiler: Compile Standard - DEFERRED, Vertex Program: Internal error, unrecognized message from the shader compiler process. Please report a bug including this shader and the editor log.

    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 454)

    Thread: 12595200
    Message: cb: 32 2
    Platform: metal
    Keywords: UNITY_NO_DXT5nm

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

  4. DrunkenMastah

    Oct 11, 2019 14:54

    Can be reproduced on 2019.2.8 as well. Anyone trying to fix this? my entire dev cycle is blocked!

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.