How to Build and Test your Unity Game

Objective: learn how to deploy your Unity game project onto PC/MAC/LINUX for evaluation and testing.

Select File / Build Settings… and by default you will find yourself with the PC, Mac & Linux Standalone deployment platform selected.

Opening up the Build Settings…

In the Build Settings, the Target Platform will be set to the type of machine you are working on (in my case a Mac). You then want to select Player Settings… to open the Project Settings of your build. This is worth a good look since it allows you to customize much of the information about your project, such as the company name, product name and version. There is way too much info here to dig into, so I encourage you to follow along in the Unity manual found here.

Take the time to explore the various settings available to customize your project build. More info can be found in the Unity manual.

An important detail to consider is the Resolution and Presentation / Fullscreen Mode setting to Fullscreen Window. By selecting your build to open in full screen, you need to make sure you have some way of exiting the fullscreen mode during your game, or once the game is finished. This is where implementing an “ESC key to Quit the game” is important in order to exit back to your OS. See my previous article on how to do this here.

If you don’t have such an option built in to your game, you can select the Fullscreen Mode as Windowed and adjust your desired default screen width and height. Once you are happy with the settings of your build, close the Project Settings window and select “Build”.

Selecting “Build And Run” will execute the application immediately once the compiling has finished.

You will then be asked to select a location to save your build. I would recommend setting up a specific folder for all your builds to keep everything organized.

Saving your build to a specific location, or in my case, overwriting a previous version.

Once Unity is done compiling your project, the location folder will pop up on your screen, and you can go ahead and launch the application (.exe/.dmg).

Project Application ready to run :)

Have fun testing your game! Thanks for reading :)

Military member with 34+ years of service, undertaking an apprenticeship with GameDevHQ with the objective of developing solid software engineering skills.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

How to not let page store a session for asp.net

Can You Still Become A Software Engineer At The Age of 30?

Git hands on tutorial for Beginners: Let’s push our code to github

An Introductory Guide to DevOps LifeCycle

De-cluttered Software Development

Using unit tests to identify & avoid memory leaks in Swift

Mr Robot CTF

Monads in Scala by example

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Michel Besnard

Michel Besnard

Military member with 34+ years of service, undertaking an apprenticeship with GameDevHQ with the objective of developing solid software engineering skills.

More from Medium

Galaxy Shooter 2D — Boss (Set up)

What are “Render Pipelines” in Unity?

Pitfalls with Unity Unit Tests and [Timeout]

Creating Functional Security Cameras (Game Dev Day 63)