docker icon indicating copy to clipboard operation
docker copied to clipboard

Dedicated Server support for Linux is not installed after updating from 2022.3.16f1 to 6000.0.0f1

Open paulbreuler opened this issue 1 year ago • 0 comments

Bug description

Linux server build fails in GitHub Actions after update of Unity Editor version from unityci/editor:ubuntu-2022.3.16f1-linux-il2cpp-3.0.1 to unityci/editor:ubuntu-6000.0.0f1-linux-il2cpp-3.0.1

Error:

#152 142.8 Error building Player: Dedicated Server support for Linux is not installed.

How to reproduce

Run build of Unity project in container.

# linux-specific Unity build
FROM --platform=$BUILDPLATFORM unityci/editor:ubuntu-6000.0.0f1-linux-il2cpp-3.0.1 AS build-unity-linux
WORKDIR "/src"
COPY --from=build-dependencies /src/src/SomeProject/ .
RUN --mount=type=secret,id=UNITY_USERNAME \
    --mount=type=secret,id=UNITY_PASSWORD \
    --mount=type=secret,id=UNITY_LICENSE \
    unity-editor -quit -batchmode -serial $(cat /run/secrets/UNITY_LICENSE) -username $(cat /run/secrets/UNITY_USERNAME) -password $(cat /run/secrets/UNITY_PASSWORD) && \
    unity-editor -quit -batchmode -nographics -buildTarget Linux64 -standaloneBuildSubtarget Server -executeMethod Builder.Build -projectPath . && \
    unity-editor -quit -batchmode -returnlicense -username $(cat /run/secrets/UNITY_USERNAME) -password $(cat /run/secrets/UNITY_PASSWORD)

Expected behavior

Build should succeed.

Previously used

FROM --platform=$BUILDPLATFORM unityci/editor:ubuntu-2022.3.16f1-linux-il2cpp-3.0.1 AS build-unity-linux

Additional details

I'm on MacOS so grabbing a Windows Machine to try to repro locally for more details. Currently running in GH Actions, where build had been working until version change.

paulbreuler avatar May 02 '24 19:05 paulbreuler