Search Unity

Build without shaders for headless

Discussion in 'Editor & General Support' started by MythicalCity, Aug 12, 2019.

  1. MythicalCity

    MythicalCity

    Joined:
    Feb 10, 2011
    Posts:
    420
    Is there a way to make a build that doesn't compile shaders if it's a headless (server) build? (unless this already happens)
     
  2. MSplitz-PsychoK

    MSplitz-PsychoK

    Joined:
    May 16, 2015
    Posts:
    1,278
    It isn't well documented, but I think that already happens since graphics are entirely disabled in headless/batch mode.
     
  3. MythicalCity

    MythicalCity

    Joined:
    Feb 10, 2011
    Posts:
    420
    doesn't look like it, I just built with headless mode option and it's taking a long time to compile shaders (for no reason).
     
  4. nsxdavid

    nsxdavid

    Joined:
    Apr 6, 2009
    Posts:
    476
    No, it builds shaders (sigh)
     
  5. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847