What is Unity Cloud Build?

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:

  1. Windows Desktop
  2. Mac OS Desktop
  3. Linux Desktop
  4. Android
  5. IOS
  6. WebGL
  7. 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:

  1. One Store
  2. Xiaomi
  3. APPTUTTi
  4. VIVEPORT 
  5. MOO Store
  6. JioGamesStore
  7. HUAWEI App Gallery
  8. Catappult

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:

  1. Unity Project
  2. Online Repository
  3. 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:

  1. Git
  2. Mercurial
  3. Unity Collaborate
  4. Perforce
  5. 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.

Conclusion

Using Unity Cloud Build even for small projects will save a lot of time and improve the quality of the game and its testing.

Leave a Reply

Your email address will not be published. Required fields are marked *