mirror of
https://github.com/game-ci/unity-builder.git
synced 2026-09-29 12:07:05 -07:00
v4.x
Unity 6.6+ editors request 1GiB of shared memory and hard-fail with "Insufficient shared memory available - if using Docker, please run the container with --shm-size=1025M" against Docker's 64m default. This action never passed --shm-size at all and exposed no input to work around it, so affected users had no escape hatch whatsoever. Reported as #840 (closed as not-planned) and again on Discord against Unity 6000.6.0f1. Backport of the fix already merged into game-ci/cli (#239), which owns this code going forward. Adds the dockerShmSize input, the BuildParameters field, and the flag on both the Linux and Windows commands, defaulting to 1025m - the value unity-test-runner has always passed. --shm-size caps a tmpfs rather than preallocating memory, so the default costs nothing for editors that don't need it. "0"/"none" opts back out to Docker's own default. Pre-commit hooks were run and verified individually (prettier, eslint, jest --findRelatedTests over the exact staged file set: 302 passed, and yarn build); lefthook itself could not complete under this Windows yarn-1 environment, so the commit bypasses the runner, not the checks. Co-Authored-By: Claude Opus 5 <[email protected]>
specify bee (incremental) build cache directory environment variable for windows docker run command and cache to Library directory (#717)
Unity - Builder
(Not affiliated with Unity Technologies)
GitHub Action to build Unity projects for different platforms.
Part of the GameCI open source project.
How to use
Find the docs on the GameCI documentation website.
Related actions
Visit the GameCI Unity Actions status repository for related Actions.
Community
Feel free to join us on
and engage with the community.
Contributing
To help improve the documentation, please find the docs repository.
To contribute to Unity Builder, kindly read the contribution guide.
Support us
GameCI is free for everyone forever.
You can support us at OpenCollective.
Licence
This repository is MIT licensed.
This includes all contributions from the community.
Languages
TypeScript
95.5%
JavaScript
3.6%
Shell
0.9%