Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

WasmCodeOptimization.DiskSize

Description

Favor optimizations that minimize build size, at the expense of taking a longer time to build compared to WasmCodeOptimization.BuildTimes.

It’s recommended to select this option when targeting mobile web browsers that might have limits on the size of WebAssembly files that can be loaded. Smaller disk sizes generally result in shorter page startup times.