How to build and test your Unity project

Daniel Kirwan
2 min readApr 19, 2021

--

There comes a time when the play button in Unity and it is not enough to test your game. You will eventually need to build the project so that you can test it on different machines to make sure everything is happening as it should be.

To build your game there are a few things that you need to do before using Unity’s build utility.

First we need to check the build settings of the project. To get to the build settings window click file -> build settings.

We then need to add all the scenes that we would like to be in the build. You can do this by clicking add open scene or by selecting the scenes in the project window and dragging them into the build menu. You will need to order your scenes for your game build as it will make loading scenes easier in code.

We then need to make sure our project is being made for the correct platform.

I am building out to PC right now so I do not need to do anything. You can switch platform if you have downloaded the correct modules by clicking on the platform you would like and then at the bottom you will see a button to switch platform.

Now we need to make some adjustments in the player settings which you can see in the bottom left of the above image.

You should now have the project settings window open and be on the player tab. You can now make adjustments to the game window size, change the splash screen image and also the image for the game icon.

Once you have made you changes you can close the project window and then click build and run. It will ask you to save the game build before it starts to build the game for you.

And that’s it for building your Unity project for Windows or Mac.

--

--

Daniel Kirwan
Daniel Kirwan

No responses yet