Search Unity

Cloud Build doesn't support Burst/IL2CPP

Discussion in 'Unity Build Automation' started by Anotheryeti, Jun 17, 2019.

  1. Anotheryeti

    Anotheryeti

    Joined:
    Jul 6, 2011
    Posts:
    11
    I'd like to use Unity's Cloud Build for a project that's fairly performance-dependent and needs the Burst compiler, targeting desktop platforms.

    Right now it looks like all the Cloud Build instances are running on macOS, which means that we cannot use either Burst or IL2CPP due to the AOT compilation restrictions:
    https://docs.unity3d.com/Packages/com.unity.burst@1.0/manual/index.html

    Any ETA on when we might get Cloud builds with windows/linux instances? Is this even in consideration? Doing multi-platform builds with these compilation restrictions, and without something resembling a Cloud build service is super painful.

    Some log files showing linux/windows builds using Unity.app for the build:

    Code (CSharp):
    1. 36: Extracting cache files to /BUILD_PATH/anotheryeti.industrial-petting.default-linux-desktop-64-bit
    2. 37: library successfully restored from remote cache
    3. 38:  + Detected last used Unity version: 2019.1.6f1
    4. 39:  + Detecting Unity installation ...
    5. 40:  + Building with Unity installed at /UNITY_PATH/Unity/Unity-2019_1_6f1/Unity.app/Contents/MacOS/Unity
    Code (CSharp):
    1. 37: Extracting cache files to /BUILD_PATH/anotheryeti.industrial-petting.default-windows-desktop-64-bit
    2. 38: library successfully restored from remote cache
    3. 39:  + Detected last used Unity version: 2019.1.6f1
    4. 40:  + Detecting Unity installation ...
    5. 41:  + Building with Unity installed at /UNITY_PATH/Unity/Unity-2019_1_6f1/Unity.app/Contents/MacOS/Unity
     
  2. victorw

    victorw

    Joined:
    Sep 14, 2016
    Posts:
    459
    Support for Windows/Linux builders requires a pretty complete rewrite of most of Cloud Build to support, it is being actively worked on though and has been for the last year or so. Can't really give an ETA on such a large project though. Windows instances are close to being ready for public beta but I couldn't say what that means in terms of timelines.
     
  3. Anotheryeti

    Anotheryeti

    Joined:
    Jul 6, 2011
    Posts:
    11
    Thanks for the straightforward answer. I should probably just try and do some virtual machine wrangling/couple of build servers in the meantime.
     
    stuepfnick likes this.