Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

BuildOptions.EnableHeadlessMode in 4.2 (not documented?)

Discussion in 'Editor & General Support' started by any_user, Aug 9, 2013.

  1. any_user

    any_user

    Joined:
    Oct 19, 2008
    Posts:
    374
    In the release notes there was mentioned that in 4.2 there is now a possibility to make headless builds. I know I can start the application with -nographics -batchmode which works perfectly, but I'm still looking a way to build my application without all the audio/graphics assets to reduce the build size (faster update uploads to multiplayer servers) and especially to have a build that doesn't load textures, sounds etc. into the RAM. This would make cloud hosting of games much cheaper, when a server build wouldn't use unneccessary resources.

    I found there is a new build option BuildOptions.EnableHeadlessMode in 4.2, but it's not documented and doesn't seem to have any impact on the build. How is this supposed to work?

    And are the docs actually updated to 4.2? The new RenderTexture.antiAliasing property is also not documented (but works in code).
     
  2. Joshua-Beeler

    Joshua-Beeler

    Joined:
    Aug 9, 2013
    Posts:
    2
    Bump, I'd like to know more about this option, too. It still appears to be undocumented.
     
  3. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
  4. Joshua-Beeler

    Joshua-Beeler

    Joined:
    Aug 9, 2013
    Posts:
    2