Developer Documentation

Unity Dedicated Server Export

If you are building a server using Mirror Networking or Photon or MLAPI, you can export a headless dedicated server via the Build Settings in Unity. If possible, always choose Linux binary, as we prefer Linux binaries.

In Unity 2021.1 and later, the Build Settings look a bit different and you can choose Dedicated Server as a build target on the left side. In earlier versions, you need to choose Linux or Windows build and then activate the checkbox “Headless” in the options on the right side to activate a headless server build.