Search Unity

[SOLVED] Cloud Build Failed : Cannot find the specified file

Discussion in 'Unity Build Automation' started by AlphaDreams, Feb 18, 2020.

  1. AlphaDreams

    AlphaDreams

    Joined:
    Jan 21, 2015
    Posts:
    30
    Hello everyone, I got an issue with Unity Cloud Build :

    Description of issue:
    The Unity Cloud Build of my project is constantly failing, but everything is working on my local project.

    Unity version:
    2019.3.0f5 & 2019.3.1f1

    Source control:

    Git (gitlab.com)

    Local build platform:
    Windows 10 v1803 (17134.1304)

    Build targets:
    • Windows desktop 32-bit
    • Windows desktop 64-bit

    Relevant plugins being used (i.e. Google Play Game Services, other plugins that may perform automatic post-build behaviors)
    Rewired ?

    Project name:
    Fireflies on a Moonless Night

    Does it build locally from a fresh checkout?
    Did a clean clone of the project in a new location, open Unity and start a Build. Everything works fine.
    So, yes.

    Build log (relevant chunk):
    [Unity] ERROR: Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath

    [Unity] UnityEngine.Debug:LogPlayerBuildError(String, String, Int32, Int32)

    [Unity] Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath

    [Unity] ERROR: System.InvalidOperationException: Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath ---> System.ComponentModel.Win32Exception: ApplicationName='/BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe', CommandLine='-legacy -latest -format value -property installationPath', CurrentDirectory='', Native error= Cannot find the specified file

    [Unity] UnityEngine.Debug:LogPlayerBuildError(String, String, Int32, Int32)

    [Unity] System.InvalidOperationException: Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath ---> System.ComponentModel.Win32Exception: ApplicationName='/BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe', CommandLine='-legacy -latest -format value -property installationPath', CurrentDirectory='', Native error= Cannot find the specified file

    [Unity] ERROR: --- End of inner exception stack trace ---

    [Unity] UnityEngine.Debug:LogPlayerBuildError(String, String, Int32, Int32)

    [Unity] EXCEPTION: BuildFailedException: Burst compiler (1.1.2) failed running

    [Unity] Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath

    [Unity] System.InvalidOperationException: Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath ---> System.ComponentModel.Win32Exception: ApplicationName='/BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe', CommandLine='-legacy -latest -format value -property installationPath', CurrentDirectory='', Native error= Cannot find the specified file

    [Unity] BuildFailedException: Burst compiler (1.1.2) failed running

    [Unity] Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath

    [Unity] System.InvalidOperationException: Error while executing command: /BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe -legacy -latest -format value -property installationPath ---> System.ComponentModel.Win32Exception: ApplicationName='/BUILD_PATH/sweet-dreams-studio.fireflies-on-a-moonles19e161b8/Library/PackageCache/com.unity.burst@1.1.2/.Runtime/hostmac/vswhere.exe', CommandLine='-legacy -latest -format value -property installationPath', CurrentDirectory='', Native error= Cannot find the specified file

    [Unity] ERROR: Player export failed. Reason: --- End of inner exception stack trace ---
     
  2. AlphaDreams

    AlphaDreams

    Joined:
    Jan 21, 2015
    Posts:
    30
  3. Hazneliel

    Hazneliel

    Joined:
    Nov 14, 2013
    Posts:
    305
  4. sheredom

    sheredom

    Unity Technologies

    Joined:
    Jul 15, 2019
    Posts:
    300
    So cloud build support in Burst was only added in the 1.3.0 preview we currently have out for testing. You'll need to use that preview to get this to work.