> For the complete documentation index, see [llms.txt](https://wiki.playgama.com/playgama/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.playgama.com/playgama/guides/performance-and-optimization/unity/unity-build-optimization-tool.md).

# Unity Build Optimization Tool

This tool optimizes Unity WebGL builds, automates build workflows, and reduces package size to the minimum possible.

{% embed url="<https://www.youtube.com/watch?v=OjbsiHOYUKM>" %}

What this tool provides:

1. **Build size optimization**\
   Focuses on reducing the initial WebGL build size, which directly impacts loading speed, user retention, and overall game performance.
2. **Detailed Unity build analysis**\
   Analyzes the Unity WebGL build and shows all included assets:
   * images
   * audio files
   * 3D models
   * fonts
   * shaders
   * other embedded resources
3. **Asset optimization assistance**\
   Helps identify heavy or inefficient assets and provides optimization recommendations.
4. **Automatic compression configuration**\
   Automatically applies optimal compression settings for:
   * build output
   * generated code\
     (e.g. Gzip / Brotli, depending on platform and setup)
5. **Developer-friendly workflow**\
   The tool can be shared and easily tested on existing projects without modifying gameplay logic.
6. **Support during integration**\
   If any questions or issues arise while using the tool, our team is ready to help.
