Search Unity

Cloud Build taking long. Is unity compiling multiple times for on single target?

Discussion in 'Unity Build Automation' started by SuperDena, Oct 2, 2018.

  1. SuperDena

    SuperDena

    Joined:
    Aug 6, 2018
    Posts:
    1
    Our cloud build times are taking one hour for a fairly simple project and I am having problems figuring out why. I read an articles(*) about it but nothing explains this issue. The build log is the only tool I have found to profile with.

    Based on the build log checkout time is OK.

    One odd thing I saw was that it complained about the same C# compilation warnings exactly 10 times. It looks like it is compiling it 10 times which is odd to me as we are only using one target(ios-default).

    Is unity compiling the same C# code multiple times for on single target?

    *) https://support.unity3d.com/hc/en-u...my-build-times-on-Cloud-Build-taking-so-long-

    (PS. We are also having odd issues with compiling shader variants but I post about it in a separate thread.)