Detail this asset from Unity Store: Original Link
This is a paid asset, but now you can download Headless Builder Free.
Headless Builder v1.6.4
Headless Builder v1.1
Did you know your Unity headless build could be so much faster?
That’s right, your dedicated server is wasting resources and money.
Optimize your headless build or dedicated server with one click!
Save tons and tons of CPU, RAM and disk space!
Make your life much easier!
– Strips unneeded assets like textures, sounds and video.
– Disables all graphics rendering, including lighting and shaders.
– Disables audio rendering.
– Skips shader variant compilation.
– Skips lightmap baking.
– Works out-of-the-box.
– Make regular builds and headless builds within one project.
– Supports multiple build profiles.
– Extensive documentation.
– Highly configurable.
– Supports batch building and Unity Cloud Build.
– Can strip debug log messages from your build.
– Can output log messages to console instead of file.
– Generates a readme file.
– Script functions, callbacks and define directives available.
– Can execute specific code only on headless builds.
– Simple examples attached.
– Full source code included.
SOLVES COMMON ISSUES
– “Global Illumination requires a graphics device to render albedo” error? Solved!
– “Cannot find card 0” error? Solved!
– “Unknown PCM default” error? Solved!
and much more!
Supports Unity 5.6, 2017, 2018 and 2019.