Releases: game-ci/unity-builder
Pro License Activation Regression Fix and Engine Exit Code Output
What's Changed
- Fix pro license activation failure rate regression
- Add warning annotations for license activation retry attempts for clarity
- Output licensing/build error code to
engineExitCode
- Update CONTRIBUTING.md by @webbertakken in #601
Full Changelog: v4...v4.1.1
Self-Hosted Runner Permission Fixes and Stability Improvements
What's Changed
- Added
runAsHostUser
to allow running the container as the same user as the host system. This fixes most permissions issues on self-hosted runners. Should be set to true on self-hosted runners so the docker container won't run as root - Generates a new uuid for machineID to ensure separate containers are unique to reduce license activation errors
- Added exponential delay retry strategy for Ubuntu license activations. Should reduce failed builds due to license activation errors.
Full Changelog: v4...v4.1.0
Hotfix: Self Hosted Linux Runner Permission Error
Fix permission denied error on Linux self-hosted runners
Windows Improvements and QOL Additions
This release bumps docker images for Windows to Server 2022 in anticipation of Server 2019 EOL. It is highly recommended for users to upgrade to this version as it contains a security fix for personal license serial masking as well as major stability and QOL fixes and improvements.
What's Changed
- [Breaking] Windows images upgraded to Server 2022. This means you must update your workflows to use
windows-2022
or ensure self-hosted runners are running Windows Server 2022 or Windows 11 or the images will fail to start - [Breaking] Updated license activation method to fix increased license activation failures. Personal license activation on Linux now requires
UNITY_EMAIL
andUNITY_PASSWORD
to be passed in addition toUNITY_LICENSE
. Look at our License Activation Docs for more guidance. - Fix serial number leak for personal license activation. This only affects users who only provide a license file for personal activation. Professional serials are not affected. Furthermore, serial numbers require username and password to activate so the risk of malicious use is low. Regardless it is highly recommended to update to v4 to ensure proper masking and for extra security, delete any unexpired build logs.
- Windows now properly uses exit codes for determining build failures. This should bring it in line with Ubuntu behavior and fix several issues introduced by v3. Parsing for error count is now disabled
- Fixes for Windows builds hanging on exit
- Add annotations to default build script so Unity warnings and errors become github annotations to make debugging builds easier. For custom build methods, you can add this CompileListener script to your editor folder to gain the same functionality
- Add
containerRegistryRepository
andcontainerRegistryImageVersion
fields to allow easier use of custom images and the ability to roll back image versions - Add
dockerCpuLimit
,dockerMemoryLimit
, anddockerIsolationMode
for improved container performance control. Windows containers will by default now use more available system resources to improve build performance. Previously they were stuck at 1 cpu and 1GB memory due to a docker bug - Building on MacOS no longer requires sudo as long as the license activation path
/Library/Application Support/Unity
exists - MacOS setup now installs the correct architecture of Unity to account for Apple Silicon runners by @dcvz in #591
manualExit
suppresses-quit
, useful for buildMethods with async calls by @tobyspark in #574- fix android sdkmanager invocation by @eronnen in #582
New Contributors
- @tobyspark made their first contribution in #574
- @dcvz made their first contribution in #591
Full Changelog: v3...v4.0.0
Allow multiple SSH keys
What's Changed
See https://game.ci/docs/github/builder#sshpublickeysdirectorypath
New Contributors
Full Changelog: v3...v3.1.0
Use improved next generation images (v2.x)
What's Changed
- BREAKING (potentially) - Bump docker version (Ubuntu 22.04 LTS) by @webbertakken in #556
- Add default value for androidExportType by @davidmfinol in #506
- Fix defaults by @AndrewKahr in #510
- Fix reflection code for setting buildAppBundle by @AndrewKahr in #512
- Revert android symbol to none by @AndrewKahr in #514
- Code cleanup by @AndrewKahr in #511
- Fix Builds Status Badge by @davidmfinol in #520
- Cloud runner develop - latest fixes by @frostebite in #524
- V3 Updates by @AndrewKahr in #529
- Build subtarget support for Unity 2021.2+ by @danielchipman in #532
- Fix macOS unity base path so that unity existence check works as intended by @VioletXF in #551
- Fix unity path by @VioletXF in #552
- Bump semver from 7.3.5 to 7.5.2 by @dependabot in #544
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #548
- Removed checks for old unity versions by @EliasVal in #558
- Fix versions by @EliasVal in #559
New Contributors
- @danielchipman made their first contribution in #532
- @VioletXF made their first contribution in #551
- @EliasVal made their first contribution in #558
Full Changelog: v2.2.0...v3.0.0
v2.2.0 Add androidExportType, androidSymbolType, cacheUnityInstallationOnMac, unityHubVersionOnMac and QOL improvements
What's Changed
- Feature/support for unity licensing server linux by @simensan in #468
- Fix powershell quotation issue, when CUSTOM_PARAMETERS contains spaces by @ericroy in #470
- Cloud Runner Develop - 1.0 R.C 1 by @frostebite in #437
- Add Cloud Runner Pipeline to Main by @frostebite in #472
- Fix "large package handling" to redirect to shared folder by @frostebite in #473
- Fix: retained workspaces must fetch before resetting to needed commit by @frostebite in #476
- fix: Misc minor issues in image-environment-factory and windows docker by @AndrewKahr in #477
- feat: Android updates for Windows and androidVersionCode output by @AndrewKahr in #478
- feat(mac): Install mac Unity modules based on target platform for greater flexibility by @AndrewKahr in #481
- Bump json5 from 1.0.1 to 1.0.2 by @dependabot in #487
- Enable workflow dispatch (for checks workflow) by adding simple workflow to main by @frostebite in #492
- Cloud runner develop - better parameterization of s3 usage, improved async workflow and GC, github checks early integration by @frostebite in #479
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #498
- Improve mac unity setup steps by @AndrewKahr in #501
- Fix incorrect environment variables on macos runner by @cseteram in #499
- Fix action deprecation warnings by @AndrewKahr in #502
- Misc QOL Updates and bug fixes by @AndrewKahr in #505
New Contributors
- @simensan made their first contribution in #468
- @ericroy made their first contribution in #470
- @cseteram made their first contribution in #499
Full Changelog: v2.1.2...v2.2.0
v2.1.2 Fix android builds for 2018 versions. Upgrade to node 16.
Pass Android parameters for Windows builds 🤖🪟
What's Changed
- Fix androidTargetSdkVersion by @davidmfinol in #425
- Bump @actions/core from 1.6.0 to 1.9.1 by @dependabot in #426
- chore: add game-ci github sponsoring option by @webbertakken in #429
- Update FUNDING.yml by @webbertakken in #431
- Pass Android parameters for Windows builds, fixes #434 by @singlerider in #436
- Bump jose from 1.28.1 to 1.28.2 by @dependabot in #435
New Contributors
- @singlerider made their first contribution in #436
Full Changelog: v2...v2.1.1
Support version tags not prepended with `v`
Behaviour change
If you are using versioning: Semantic
(default behaviour) (docs), version tags that are not prepended with a v
will start working as intended.
- fix: make v character in version tags optional by @webbertakken in #423
Technically this is a breaking change but we're releasing it as a minor update because we do not believe that it will affect anyone in practice.
Other changes
- Fix missing Android custom keystore by @davidmfinol in #400
- Fix ANDROID_TARGET_SDK_VERSION environment variable is missing by @davidmfinol in #412
- chore: update action-cats by @webbertakken in #421
- chore: remove audit pre push by @webbertakken in #422
Full Changelog: v2...v2.1.0