Hi,
I’m seeing this error quite often after some 30min when the build starts:
45: Build was canceled
46: Unity Cloud Build restarted this build process, look for the next one.
Typically the build is successful on the next one.
We’re also seeing ~40-50% of our builds randomly stalling out and restarting. Our average successful build is ~15 minutes, but an average timeout is ~30 minutes, so we’re wasting a lot of time waiting. Would love to hear why this happens.
@odbb if UCB has successfully built a client before, does UCB redownload the whole repo everytime, or does it just update it? Also does it rebuild the whole library folder everytime? If so that sounds like a waste of bandwidth/cpu usage/time. (Maybe there should be options like “clean repo on every build” and “clean library on every build”)
As of today, Cloud Build caches the Library directory between builds, but does a full re-download from source control. The “Clean Build” button will flush the Library and re-build it. Dedicated build servers (on the “Enterprise” tier) can cache source control between builds as an option.
You can disable Library caching from the project settings/targets page.