# EnableHeadlessMode

> Options for building the standalone player in headless mode.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.5/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

> **Warning:**
>
> **Deprecated.** Use StandaloneBuildSubtarget.Server instead

```csharp
EnableHeadlessMode = 16384
```

### Remarks

The application output compiles the standalone player based on the following target platforms:

**Mac player:** Compiled as a standard console application.

**Win Player:** Compiled with /System:Console and runs as a standard windows console application.

**Linux player:** Compiled as a standard console application.

UNITY\_SERVER will be defined when building managed assemblies.
