Skip to main content

WebGlOptimizer

6 tools in this family (folder Editor/Tools/WebGlOptimizer/ in the bridge package). Effect: writes changes the project or the scene, read-only does not, destructive deletes or overwrites and the client asks before running it.

ToolEffectDescription
webgl_auto_fix_allwritesApply every safe WebGL fix in one pass: enable Brotli, set stripping to High, set asset compression
webgl_compress_player_data_post_buildwritesBrotli-compress one or more player payload files post-build (typically Build/index.data and
webgl_estimate_size_savingsread-onlyProject the size delta if every webgl_auto_fix_all action were applied. Pure heuristic — uses
webgl_export_lighthouse_friendly_templatewritesDrop a Lighthouse-friendly WebGL template under Assets/WebGLTemplates/Buril. The template renders a
webgl_scan_categoryread-onlyRun one WebGL Optimizer scanner. Useful for tight feedback loops — fix one category, re-scan just
webgl_scan_fullread-onlyRun every WebGL Optimizer scanner (brotli, stripping, asset compression, exception support, template…