Skip to content
Kitbay
Submit

optimize-web

LicenseRef-Unity-Companion-LicenseUpdated on Nov 6, 20261,239GitHub starsIncludes scripts

A Unity skill for WebGL and WebGPU builds that are too large, load slowly or stutter in the browser.

What the skill teaches

A Unity skill for WebGL and WebGPU builds that are too large, load slowly or stutter in the browser. The agent checks the current build settings, works out what the user needs, and applies changes such as Brotli or Gzip compression, code stripping and KTX texture compression, along with fixes for memory use, stutter and battery drain, then checks the results. It runs C# in the Editor through the Unity CLI and ships a WebOptimizer C# script and example texture compression commands.

Capabilities

  • Shrink Unity WebGL and WebGPU build size
  • Speed up web build loading
  • Fix browser stutter and memory problems
  • Compress textures for the web