Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


DiskSize

Favor optimizations that minimize build size, at the expense of taking a longer time to build compared to WasmCodeOptimization.BuildTimes.
Read time 1 minuteLast updated 6 days ago

Definition

DiskSize = 2

Remarks

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.