The UnityCloudBuild needs to have access to the repository. It checkouts the project and then builds it. But everytime before build a target the UnityCloudBuild downloads the whole project. I have enabled Caching Library and it reduced building time. And I cannot find an option to enable “pull changes” or read about this. Is there any way to just pull changes from a repo?
We are noticing the same. We never used to have problems with Git LFS and data usage.
But recently we are hitting our limits fast and need to purchase extra for more data bandwidth.
And Unity Cloud build does seem to download the entire project size for every build.
I contacted Unity about this a while back and it seems to be normal behaviour. They cache the Library folder but not the source code, probably from a privacy point of view so they don’t have copies of your game on their servers. There was some kind of trial system that you could ask them to enable on your account that would cache the source too but I’m not sure it was working 100%, we tried it a while ago and found it caused too many errors.
Thanks for the info!
Do you know if this behavior changed recently?
Because we did not have this issue before.
As far as I know it’s always been like this, I never noticed it much in the past because most of our projects were fairly small but recently we’ve been working on a large project.
There’s more info on the cache feature and general discussion on the same problems here: Build process always checks out while repo (SVN)