Building Unity game applications can be a very time-consuming task, especially when there is a very big project with hundreds of files.
A small to medium project in Unity consisting of a few files usually builds for a few seconds to a few minutes. If you build multiple platforms for a project, then it would not take less than 10-20 minutes. However, if you have a very big project, then that is a different story.
A big project in Unity can, at most, be built in about 20-30 minutes or more. Imagine how much time it takes to build for different platforms, and how much time to lose building for the project when you can use the time for another task.
If you hate long building applications (a time-consuming task) and want to use the time for another task, then stay tuned. You are in for a treat!
Unity Cloud Build
Unity has a feature that automates the compilation of a project in a cloud server for multiple platforms, which is called Unity Cloud Build (UCB).
Here is a list of its supported platforms:
- Windows Desktop
- Mac OS Desktop
- Linux Desktop
- Unity Web Player
How does it work?
Unity Cloud Build monitor any changes made to an online repository like GitHub. It automatically generates a build. The team will then be notified when the build is complete.
After build completion, the Unity Distribution Portal (UDP) can be used directly through the UCB Dashboard for uploading the build of the game and to automatically deploy the application to multiple platforms.
Here is a list of Unity Distribution Portal Stores:
- One Store
- MOO Store
- HUAWEI App Gallery
Here’s the process flow of build automation using UCB.
How to use Unity Cloud Build?
Before using UCB. We must have the following requirements:
- Unity Project
- Online Repository
- Unity Teams Advanced Subscription
First, create a Unity project then push the local project to the online repository. Remember to use an online repository whose version control system is UCB-supported such as:
- Unity Collaborate
- Apache Subversion (SVN)
Secondly, after having a working online repository, start setting up the Unity Cloud Build project and integrate it into the online repository.
Lastly, with Unity Cloud Build service, start building the game automatically for different platforms, and deploy the production build to different app stores.
Here are the pros and cons of using UCB to understand the benefits and downside of its usage.
Using Unity Cloud Build even for small projects will save a lot of time and improve the quality of the game and its testing.