Unity: Build and test your game

Once we’ve saved everything, we can go to File > Build Settings. In here we want to make sure that we have our Main Menu set to scene 0 and our Game, or first level at least, set to scene 1.

We click on Player Settings and under ‘Player’ change the resolution and screen mode settings to be suitable for our test. We need to remember we have no built-in way to quit the game yet so it’s best to run Windowed.

Once we are happy with our build settings, we can click ‘Build’. Choose a suitable location for the build and it will begin automatically. For those using version control via Github etc, I would separate your build from the working directory to avoid issues with large file storage etc.

When the build is complete we will be presented with the files. Simply double-click the .exe to start the game.

Make sure you test all of the features you have implemented so far and that they work as expected!

In the next article we will go over sharing your game on the web for others to see.

--

--

--

Software developer in the field of Unity and C#. Passionate about creating and always driven to develop.

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

Recommended from Medium

Introducing reference management tools

Effective Communication With Remote Developer Teams

Linux is Fun….!!!!

Mysql Connection in SpringBoot

Controlling Lights with a Raspberry Pi

Accessing the Web in Python Using Requests

Weekly Update: July 26 — Aug 1, 2021

Sprint Studio Feature: ProSe Claims

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
Ian Plumpton

Ian Plumpton

Software developer in the field of Unity and C#. Passionate about creating and always driven to develop.

More from Medium

Magnetism in Unity Made Easy!

Introducing Stream’s New SDK for the Unity Gaming Engine

From Prototype to Art

A low-poly knight 3D model!