# 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.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.playgama.com/playgama/performance-and-optimization/unity/unity-build-optimization-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
