From 24e602dd1754b9da01fe508645042841da1b6224 Mon Sep 17 00:00:00 2001 From: Kitlith Date: Tue, 19 Aug 2025 17:26:51 -0700 Subject: [PATCH 1/2] Use unity-builder fork while we wait for upstream. Fixes OpenVRSettings.asset not being included in the Linux CI build. --- .github/workflows/compilation.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index b00860245..4c4a48196 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -80,7 +80,7 @@ jobs: run: jq 'del(.dependencies ["com.meta.xr.sdk.core", "com.unity.xr.openxr"])' < ${projectPath}/Packages/manifest.json > manifest.json.tmp && mv manifest.json.tmp ${projectPath}/Packages/manifest.json - name: "Build Unity project" timeout-minutes: 100 - uses: game-ci/unity-builder@v4 + uses: kitlith/unity-builder@linux-extension env: UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }} UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }} @@ -100,6 +100,7 @@ jobs: androidKeystorePass: ${{ secrets.ANDROID_KEYSTORE_PASS }} androidKeyaliasName: ${{ secrets.ANDROID_KEYALIAS_NAME }} androidKeyaliasPass: ${{ secrets.ANDROID_KEYALIAS_PASS }} + linux64RemoveExecutableExtension: false - name: "Save Library Cache" uses: actions/cache/save@v3 if: always() && github.ref_name == 'developer' From 8aae7b86ce2960179b7ac4b1704f56825c3303ac Mon Sep 17 00:00:00 2001 From: Kitlith Date: Sun, 28 Sep 2025 20:26:41 -0700 Subject: [PATCH 2/2] Re-exclude com.meta.xr.sdk.core from the Linux CI build --- .github/workflows/compilation.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/compilation.yml b/.github/workflows/compilation.yml index 4c4a48196..55775171f 100644 --- a/.github/workflows/compilation.yml +++ b/.github/workflows/compilation.yml @@ -77,7 +77,10 @@ jobs: run: echo "gitversion=$(git describe --tags --always)" >> "$GITHUB_OUTPUT" - name: "Remove OpenXR when building for Linux" if: matrix.targetPlatform == 'StandaloneLinux64' - run: jq 'del(.dependencies ["com.meta.xr.sdk.core", "com.unity.xr.openxr"])' < ${projectPath}/Packages/manifest.json > manifest.json.tmp && mv manifest.json.tmp ${projectPath}/Packages/manifest.json + run: jq 'del(.dependencies ["com.unity.xr.openxr"])' < ${projectPath}/Packages/manifest.json > manifest.json.tmp && mv manifest.json.tmp ${projectPath}/Packages/manifest.json + - name: "Remove Meta XR Core when building for Linux" + if: matrix.targetPlatform == 'StandaloneLinux64' + run: rm -rf ${projectPath}/Packages/com.meta.xr.sdk.core - name: "Build Unity project" timeout-minutes: 100 uses: kitlith/unity-builder@linux-extension