Building

Once you prepared your assets and tested the client in the editor, it's time to build the project!

To build the client, select Build in File menu (default shortcut Ctrl+Shift+B). For consecutive builds, just click Build And Run (default shortcut Ctrl+B)

Building for Windows/Linux/MacOS

in Build Settings, select your PC, Mac & Linux Standalone and specify your target platform. There are variety of options there, you can check them here.

Make sure that Scenes/MainScene is checked when building, otherwise it will produce an empty application.

Once you are done with your settings, click Build and select the folder you want to build to, typically you'd have a folder called Builds/TargetPlatform since his folder is ignored by Git.

If you want to profile the client, then make sure to check Development Build and Autoconnect Profiler to ensure that Unity Editor will profile your gameplay. Beware that this might cause lags as unity's profiling methods are intensive.

Last updated