Design a Cloud Build Service for Large Unity Projects

Last updated: November 29, 2026

Quick Overview

Design a hosted service that builds game projects for many target platforms (Android, iOS, Windows, WebGL, consoles) on every commit, keeping build times low for projects with tens of gigabytes of assets.

Unity
System Design
Software Engineer
Unity
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a hosted service that builds game projects for many target platforms (Android, iOS, Windows, WebGL, consoles) on every commit, keeping build times low for projects with tens of gigabytes of assets.

Unity runs Build Automation for customers, and build and import time is one of the most common developer complaints about large projects. The interviewer checks whether you understand where build time actually goes (asset import, shader compilation, IL2CPP), how to cache it safely, and how to schedule scarce workers like macOS machines for iOS.

What the Interviewer Expects
  • Break a build into stages and identify the expensive, cacheable ones
  • Content-addressed caching of imported assets and compiled shaders
  • Scheduler with heterogeneous worker pools (Linux, Windows, macOS, console SDK hosts)
  • Fast source sync for huge repos (shallow, sparse, LFS or VCS proxies)
  • Isolation, secrets for signing keys, and artifact delivery
  • Fairness and cost control across tenants
Key Topics to Cover
build systems
content-addressed cache
scheduling
CI/CD
multi-tenancy
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you guarantee a cache hit cannot produce an incorrect build?
  • How would you schedule when macOS capacity is the bottleneck?
  • How would you support console platforms with restricted SDKs?
  • How would you surface why a build was slow to the user?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: connect a repo (Git, Unity Version Control, Perforce), configure targets, trigger on commit or schedule, produce signed artifacts, logs and test results. Non-functional: thousands of concu...

High-Level Design

Control plane: API, project config, a build queue and a scheduler. Data plane: pools of ephemeral workers by OS and toolchain, each with the matching editor version preinstalled in a golden image. A b...


Submit Your Answer
Markdown supported

Related Questions