Version: 2017.3

설명

Use chunk-based LZ4 compression when building the Player.

This value allows the data to be stored in a compressed form when the Player is deployed to a device. Decompression is performed in real time when the Player reads the data. Scene or Asset loading might be faster or slower depending on disk read speed when compared to using uncompressed data.

Compressed data files include:
1. Player settings - globalgamemanagers and globalgamemanagers.assets files.
2. Scenes and Assets - level* and sharedassets*.asset files.
3. Resources - resources.assets files.
4. GI data.
5. Built-in resources - unity_builtin_extra file.

CompressWithLz4 sets compression parameters to LZ4 compression and splits data files into 128KB chunks.
This feature is supported for Standalone, Android and iOS build targets and is default for WebGL target.
Enabling CompressWithLz4 in Android might be a significant performance boost when loading data as LZ4 decompression is faster than the default Zip decompression.

Note:
Compression might affect the size of a game installer making it larger, even though size of the Player on a device is smaller. Subsequent compression is less efficient or even impossible.

See Also: BuildAssetBundleOptions.ChunkBasedCompression, AssetBundles-Building, ReducingFilesize.