Search Unity

Failed to launch UnityShaderCompiler

Discussion in 'Linux' started by grrava, Jun 2, 2019.

  1. grrava

    grrava

    Joined:
    Nov 11, 2012
    Posts:
    46
    I'm in the process of configuring a jenkins server to build Unity 2019.1.4 projects on CentOS 7 .

    I get this error:

    Updating Assets/HSVPicker/Resources/Shaders/Compute/GenerateSVTexture.compute - GUID: 06ff10007fb33fe44a062956d2249bb2...
    fork error
    (Filename: ./Editor/Platform/Linux/ExternalProcess.cpp Line: 76)
    Failed to launch UnityShaderCompiler shader compiler! /var/lib/unity/unity2019.1/Editor/Data/Tools/UnityShaderCompiler
    (Filename: ./Tools/UnityShaderCompiler/ShaderCompilerClient.cpp Line: 274)
    Receiving unhandled NULL exception

    Am I missing a dependency to be able to run this shader compiler?
     
    Last edited: Jun 30, 2019
  2. grrava

    grrava

    Joined:
    Nov 11, 2012
    Posts:
    46
    Maybe, probably related:

    Updating Assets/Sounds/gong.wav - GUID: 8e96b145458c77e4abd30a4c47face30...
    fork error
    (Filename: ./Editor/Platform/Linux/EditorUtility.cpp Line: 115)
    Unspecified error during import of AudioClip Assets/Sounds/gong.wav
    (Filename: ./Modules/AssetPipelineEditor/Public/AudioImporter.cpp Line: 843)

    Notice that it also mentions "fork error", is that somehow related?
     
  3. Alloc

    Alloc

    Joined:
    Jun 5, 2013
    Posts:
    241
    Hi @grrava ,

    have you ever been able to solve your issue? We're running into the same "fork error - Failed to launch UnityShaderCompiler shader compiler!" lines, actually not on import (though it might have done that too just without me noticing) but at a certain point during our game startup process. Seems like it's actually causing everything after that point to fail completely :(

    Regards,
    Chris
     
  4. grrava

    grrava

    Joined:
    Nov 11, 2012
    Posts:
    46
    Nope, still no luck unfortunately. I'm afraid that unity on Linux isn't that stable yet.