Version: 2019.2

CompressionType

enumeration

Switch to Manual

Description

Compression Method for Asset Bundles.

When building or recompressing Asset Bundles, these are the available compression methods. Some of these are only available for building and cannot be used for recompression.

Variables

NoneUncompressed Asset Bundles are larger than compressed Asset Bundles, but they are the fastest to access once downloaded.
LzmaLZMA compression results in smaller compressed Asset Bundles but they must be entirely decompressed before use.
Lz4LZ4 compression results in larger compressed files than LZMA, but does not require the entire bundle to be decompressed before use.
Lz4HCLZ4HC is a high compression variant of LZ4. LZ4HC compression results in larger compressed files than LZMA, but does not require the entire bundle to be decompressed before use.