-
-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Labels
enhancementNew feature or requestNew feature or requestwindowsMicrosoft Windows PlatformMicrosoft Windows Platform
Description
Bug description
When targeting windows-latest (which translates to windows-2025 right now) the builds fail with
###########################
# Activating #
###########################
Adding licensing server config
Unable to retrieve boot drive serial number
Acquired floating license: "" with timeout
Targeting windows-2022 succeeds.
Targeting ubuntu-latest succeeds.
How to reproduce
We're running the action as part of CI in this configuration
build:
name: Build for ${{ matrix.targetPlatform }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
include:
- targetPlatform: StandaloneWindows64
os: windows-latest
- targetPlatform: Android
os: ubuntu-latest
# ... some other steps
- uses: game-ci/unity-builder@v4
if: steps.cache-build.outputs.cache-hit != 'true'
with:
unityVersion: ${{ env.UNITY_VERSION }}
targetPlatform: ${{ matrix.targetPlatform }}
unityLicensingServer: ${{ secrets.LICENSE_SERVER_URL }}
buildName: SentaurSurvivors-${{ matrix.targetPlatform }}
customParameters: -dsn ${{ secrets.DSN }} -auth_token ${{ secrets.AUTH_TOKEN }} # Arguments cannot be passed via ENV
allowDirtyBuild: true
# ... some more steps
Expected behavior
Unity activates and builds the game on all supported platforms.
Additional details
You can find our full setup here.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestwindowsMicrosoft Windows PlatformMicrosoft Windows Platform