Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

I have Shader Compiler Socket Exception Error.

Discussion in 'Project Tiny' started by gtk2k, Mar 16, 2021.

  1. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    244
    "Getting Start Guide" Setting up a New Project

    I set up the project according to
    The following build error will occur.
    How can I fix it?
    Code (CSharp):
    1. Shader Compiler Socket Exception: Terminating shader compiler process
    2. Shader compiler: Compile simple.cg: Internal error communicating with the shader compiler process.  Please report a bug including this shader and the editor log.
    3. Platform: gles
    4. UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
    5. Unity.Entities.Runtime.Build.ExportConfigurationLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[]) (at Library/PackageCache/com.unity.dots.runtime@0.32.0-preview.54/Unity.Entities.Runtime.Build/ExportConfigurationLogHandler.cs:43)
    6. UnityEngine.Debug:LogError (object)
    7. Unity.Tiny.ShaderCompiler.ShaderCompilerClient:Compile (string,UnityEditor.Rendering.ShaderCompilerPlatform,string,string,int,byte[]&,byte[]&,System.Collections.Generic.List`1<string>) (at Library/PackageCache/com.unity.tiny@0.32.0-preview.54/Unity.Tiny.Rendering.Authoring/ShaderCompiler/ShaderCompiler.cs:428)
    8. Unity.Tiny.ShaderCompiler.ShaderCompilerClient:CompileShaderForPlatforms (string,UnityEditor.Rendering.ShaderCompilerPlatform[],string,int,string) (at Library/PackageCache/com.unity.tiny@0.32.0-preview.54/Unity.Tiny.Rendering.Authoring/ShaderCompiler/ShaderCompiler.cs:335)
    9. Unity.Tiny.ShaderCompiler.ShaderCompilerClient:CompileShaderForPlatforms (string,UnityEditor.Rendering.ShaderCompilerPlatform[]) (at Library/PackageCache/com.unity.tiny@0.32.0-preview.54/Unity.Tiny.Rendering.Authoring/ShaderCompiler/ShaderCompiler.cs:368)
    10. Unity.TinyConversion.ShaderExportSystem:CreateShaderDataEntity (Unity.Entities.Hash128,string,UnityEditor.Rendering.ShaderCompilerPlatform[]) (at Library/PackageCache/com.unity.tiny@0.32.0-preview.54/Unity.Tiny.Rendering.Authoring/ShaderExportSystem.cs:52)
    11. Unity.TinyConversion.DefaultShaderExportSystem:OnUpdate () (at Library/PackageCache/com.unity.tiny@0.32.0-preview.54/Unity.Tiny.Rendering.Authoring/ExportShaders.cs:38)
    12. Unity.Entities.SystemBase:Update () (at Library/PackageCache/com.unity.entities@0.17.0-preview.41/Unity.Entities/SystemBase.cs:400)
    13. Unity.Entities.ComponentSystemGroup:UpdateAllSystems () (at Library/PackageCache/com.unity.entities@0.17.0-preview.41/Unity.Entities/ComponentSystemGroup.cs:472)
    14. Unity.Entities.ComponentSystemGroup:OnUpdate () (at Library/PackageCache/com.unity.entities@0.17.0-preview.41/Unity.Entities/ComponentSystemGroup.cs:417)
    15. Unity.Entities.ComponentSystem:Update () (at Library/PackageCache/com.unity.entities@0.17.0-preview.41/Unity.Entities/ComponentSystem.cs:114)
    16. Unity.Entities.Runtime.Build.BuildStepExportConfiguration:Run (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.dots.runtime@0.32.0-preview.54/Unity.Entities.Runtime.Build/BuildStepExportConfiguration.cs:114)
    17. Unity.Build.BuildStepCollection:Run (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildStepCollection.cs:77)
    18. Unity.Entities.Runtime.Build.DotsRuntimeBuildPipeline:OnBuild (Unity.Build.BuildContext) (at Library/PackageCache/com.unity.dots.runtime@0.32.0-preview.54/Unity.Entities.Runtime.Build/DotsRuntimeBuildPipeline.cs:45)
    19. Unity.Build.BuildProcess:Update () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildProcess.cs:54)
    20. Unity.Build.BuildPipelineBase:Build (Unity.Build.BuildConfiguration,Unity.Build.BuildProgress) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildPipelineBase.cs:84)
    21. Unity.Build.BuildConfiguration:Build () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build/BuildConfiguration.cs:65)
    22. Unity.Build.Editor.BuildConfigurationInspector/<>c:<.cctor>b__34_1 (Unity.Build.BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:47)
    23. Unity.Build.Editor.BuildConfigurationInspector/<>c__DisplayClass30_0:<Build>b__1 () (at Library/PackageCache/com.unity.platforms@0.10.0-preview.10/Editor/Unity.Build.Editor/BuildConfigurationInspector.cs:128)
    24. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    25.  
     
  2. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Hi
    What version of Unity are you using?
     
  3. gtk2k

    gtk2k

    Joined:
    Aug 13, 2014
    Posts:
    244
  4. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Please use 2020.1 Tiny 0.32 doesn't support 2020.2
     
    Mr_ider likes this.