Linux build is built headless if built after a Linux headless build
tedbarth opened this issue · 4 comments
When starting a multi build for linux server (Headless) and then for linux clients (Not Headless) the linux also has the UNITY_SERVER still set.
That is especially problematic if there are third-party libs involved which use that macro.
Good day.
I have not looked to much into the headless part yet, since I have not done any server/client project with Unity, so that is something I would have to look at that sometime. But thanks for bringing it up to my attention.
Unity: 2022.2.11f1 (and a LTS of 2021)
Tool: 0.1.6 from github URL
I use it together with FishNet which when UNITY_SERVER is set will start the server automatically. With this bug, sadly also for the built client.
BTW: Great tool! Thanks for your effort!