Unity 2021.2: Dedicated Server target and stripping optimizations now live! Please share feedback!

@UnityGio How can I build dedicated server from script? BuildPipeline.BuildPlayer() not support this target yet?

EDIT:
I found solution:

{
subtarget = (int) StandaloneBuildSubtarget.Server,
target = BuildTarget.StandaloneWindows64,
options = BuildOptions.Development
};```
6 Likes