Skip to main content

Posts

Showing posts with the label Headless Mode

Unity Linux Headless Mode [INFO]

    What does the headless build option do? Headless mode means the player is built without any reference to X11 and friends, meaning that you can run a headless player on a server that doesn't have X installed. In all other respects, behavior is identical to a normal player with -batchmode and -nographics. Textures and sounds are still included in the build, and loaded in the player as normal - Unity doesn't know what you want to do with your player - just because you're not displaying a texture doesn't mean you don't want to do something with it.    How to remove unneeded references (texture, audio) when doing headless server builds? You can add conditional compilation symbols in project settings which could be used to cause code to compile or not. e.g. define HEADLESS, then do something like... #if HEADLESS // my code to do stuff when HEADLESS is defined #endif Now, I don't know if PostProcessS