Version: 2022.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: Player settings - globalgamemanagers and globalgamemanagers.assets files. Scenes and Assets - level* and sharedassets*.asset files. Resources - resources.assets files. GI data. 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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961