Understanding the Unity build process

The Unity build process seems pretty easy. We can simply select File | Build & Run from the top menu and get great results. Unity actually does a lot of work to create a build. Here are the basic steps the Unity game engine takes to create a build of your game:

  1. Generates a blank build copy of your game
  2. Sequences through the scene list, optimizing them before integrating them with the build
  3. Calculates and stores data regarding what assets are needed for each scene

There are additional aspects of the build process that we should be aware of. For example, if we assign the EditorOnly tag to a game object, it will not be integrated into the build. 

Once you have completed your game, you can select the

Get Getting Started with Unity 2018 - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.