How to Build and Test your Unity Game

Sean Kaleomaikalani Ferreira
2 min readDec 8, 2023

--

Congrats! You are on the final stages of your game! It’s time to build and run your game outside of the Unity Editor.

File > Build Settings

Time to go to your Build Settings. In this article, we will be building for PC (Windows, Mac, Linux). There are a few things to look at here. First off, the scenes in the build. Make sure the scenes you want are here. My game is rather simple, with a Main Menu Scene and a Game Scene.

Next is Player Settings (the bottom left button on Build Settings). This can help with settings like Color, API, and a number of other things. The most important thing to check for is how the game opens. If you have not programmed in an “exit” method (like a way to quit the game) then you are gonna want to make sure it opens in a Window and not Full Screen!

You can continue to look around at the different settings, but you are pretty much ready to Build! When actually building the game, I recommend saving it to a new folder.

I saved my build in “Windows Playable Build”

It’s nice a cleanly, but it also serves a purpose. You can exclude these big files from your GitHub. Since your Git Repositories are holding all your code and assets, you don’t need to add extra clutter with a built game, so I would advise excluding it from your commits.

--

--