Cloud build questions

I have a few cloud build questions that I can’t seem to find the answer to.

  • In regards to storage → what counts towards your storage? Is it the full repository (.git folder for example)? What about the Library folder that is generated and not stored in the repository?
  • Can you run custom methods for a build? Or do you only have access to the “Build Player” via Build Settings? Our game has different builds with different compile time options that we set via a static method executed via the command line.

Thanks!

  • Nothing in Unity Cloud Build counts towards your Cloud Storage. Only your projects using Collaborate.
  • UCB will always run BuildPipeline.Buildplayer and there isn’t currently a way to change that out, however you can make changes to the project configuration in a pre-export method (see docs here: Unity Build Automation)