-
-
Notifications
You must be signed in to change notification settings - Fork 150
Description
I am using the R3 library in a Unity project via the NuGetForUnity package manager.
The project builds successfully on my local Windows machine, and also builds in CI when the CI runner uses Ubuntu.
However, when running CI on Windows runners, the Unity build fails immediately without any logs, right after the NuGet restore step.
If I remove the R3 NuGet package, the Windows build succeeds again.
This suggests that R3 + Unity + Windows CI has some compatibility issue.
Environment
-Unity Version
Unity 6000.1.xx (2021+ also affected)
-R3 Version
Latest from NuGet (installed via NuGetForUnity)
-CI Environment
Windows GitHub Actions Runner (windows-latest)
NuGet restore executed successfully before build
-Project Contains
Cesium for Unity
NuGetForUnity
Several other NuGet packages (all work fine)
Only R3 causes the issue
On CI Windows runner:
Build fails with exit code 255
UnityEditor.log is empty
No compiler errors are produced
Failure happens immediately after loading assemblies
Could you please confirm:
Is R3 officially supported in Unity on Windows CI?
Is this a known issue?
Are there recommended settings for using R3 with Unity in Windows CI?
Is there any Windows-specific behavior in the assemblies that could cause Unity to terminate before generating logs?
Steps to reproduce:
*Create a new Unity3D project for Windows desktop application
*Install NuGetForUnity
*Install R3 package (from NuGetForUnity and from packages.json)
*Try to build using the flowing git step
buildForAllSupportedPlatforms:
name: Build for ${{ matrix.targetPlatform }}
needs: [test]
if: needs.checklicense.outputs.is_unity_license_set == 'true'
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
targetPlatform:
- StandaloneWindows64
steps:
# Checkout.
- uses: actions/checkout@v5
with:
fetch-depth: 0
# Cache Unity Library folder.
- uses: actions/cache@v4
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
restore-keys: Library-
- uses: ./.github/actions/nugetforunity-restore
with:
working-directory: .
# Build project.
- uses: game-ci/unity-builder@v4
env:
UNITY_LICENSE: 'LICENSE'
UNITY_EMAIL: 'EMAIL'
UNITY_PASSWORD: 'PASSWORD'
with:
targetPlatform: ${{ matrix.targetPlatform }}