superunitybuild / buildtool

A powerful automation tool for quickly and easily generating builds with Unity.
MIT License
1.19k stars 121 forks source link

Dedicated Server Build Support for Linux and Windows #132

Closed firdiar-mita closed 1 month ago

firdiar-mita commented 11 months ago

Add support for Linux and Windows Dedicated Server image

https://github.com/superunitybuild/buildtool/issues/83

Kulgann commented 9 months ago

I tried adding this PR, but the build server version does not run in headless mode and the UNITY_SERVER directive is not being hit. Am I doing something wrong ?

Edit : I fixed it by adding subtarget = (int)architecture.subtarget to the BuildPipeline.BuildPlayer call at line 433

robinnorth commented 1 month ago

@firdiar-mita thanks for the PR! I've finally found the time to test and review it and it all looks good to me. I'm going to merge it into the development branch of the project and make a couple of updates to it before merging it into the main branch (things like adding macOS Server support). It'll then make its way into the upcoming v8.0.0 release 🥳