gamedev-skills/awesome-gamedev-agent-skills / skills/unity/unity-build-size
unity-build-size
VerifiedFinds and shrinks what makes a Unity 6.3 LTS build too big: Build Report reading, uncompressed textures, glTFast models, PCM audio and per-platform levers. Use when an APK, AAB, WebGL build or Steam depot is over a size limit or the download is too big. Not for frame rate (`performance-optimization`), build scripts or stripping (`unity-build-pipeline`) or store uploads (`steam-publish`).
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 12.3 KB |
| agents/openai.yaml | config | 229 B |
| references/gltf-textures.md | markdown | 6.1 KB |
| references/platform-android.md | markdown | 4.6 KB |
| references/platform-desktop-steam.md | markdown | 4.7 KB |
| references/platform-ios.md | markdown | 3.1 KB |
| references/platform-web.md | markdown | 4.7 KB |
| scripts/build_report.py | script | 8.7 KB |
| scripts/check_unity_build_size.py | script | 33.8 KB |
references/platform-ios.md
View on GitHub# iOS (App Store, TestFlight)
Read this when the target is iPhone or iPad. Pass `--platform iPhone` to the checker (that is the
`.meta` name for iOS). Checked against the Unity 6000.3 manual and Apple's docs (2026-11).
## What is limited
- **App Store**: 4 GB uncompressed app, and 500 MB for the `__TEXT` sections of the executable
(deployment target iOS 9 or later)
([Maximum build file sizes](https://developer.apple.com/help/app-store-connect/reference/app-uploads/maximum-build-file-sizes)).
- **Cellular download**: Unity's manual still names a 200 MB over-the-air limit, which users can
override since iOS 13; leave a margin under it if the user cares
([Optimize the size of the iOS Player](https://docs.unity3d.com/6000.3/Documentation/Manual/iphone-playerSizeOptimization.html)).
- The App Store encrypts the binary before it compresses it, so the store size comes out larger
than a local zip of the same app (same page).
The Xcode project Unity writes, and the `.app` inside a local build, are not what users download.
Measure the thinned variants instead
([Reducing your app's size](https://developer.apple.com/documentation/xcode/reducing-your-app-s-size)):
1. In Xcode, Product → Archive.
2. Export the archive as Ad Hoc or Development, and set App Thinning to "All compatible device
variants".
3. Read `App Thinning Size Report.txt` in the export folder: compressed and uncompressed size per
device variant.
After an upload, App Store Connect shows the build's file sizes on its build metadata page.
## First moves, in order
1. **Archive a release build in Xcode.** Debug builds keep symbols and are not representative.
2. **Textures and audio**: the main workflow with `--platform iPhone`. ASTC is the preferred format;
only the oldest Metal devices (A7) lack it and unpack it at runtime
([Choose a GPU texture format by platform](https://docs.unity3d.com/6000.3/Documentation/Manual/texture-choose-format-by-platform.html)).
3. **Code size**: Strip Engine Code, Managed Stripping Level, API Compatibility Level .NET
Standard. Stripping and its breakage belong to `unity-build-pipeline`.
4. **Compression Method**: iOS has no compression by default. LZ4HC shrinks the installed data;
the IPA is a zip already, so check the thinning report before you claim a smaller download.
5. **Large optional content**: On-Demand Resources (Player Settings → Use on-demand resources,
AssetBundles tagged for download) keep it out of the initial install
([On-demand resources](https://docs.unity.com/engine/6000.3/manual/platform-specific/iphone/ios-building-and-delivering/app-thinning/ios-ondemand-resources)).
6. **Ignore bitcode advice.** Xcode 14 deprecated bitcode and the App Store no longer accepts
bitcode submissions, so old guides about bitcode inflating the upload do not apply
([Xcode 14 release notes](https://developer.apple.com/documentation/xcode-release-notes/xcode-14-release-notes)).
## Prove it
Install the exported build on a device (Xcode → Window → Devices and Simulators, or TestFlight),
play to gameplay, and look at the assets you changed.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |