Differences between the new Compression Methods (In Build Window)

What are the differences between them? Advantages and disadvantages of each?

I did my own testing, I built our APK with all 3 settings and have confusing results:

None: 51.83 mb
LZ4: 68.23 mb
LZ4HC: 56.48 mb

‘None’ appears to be the best?

Also seems to be missing from the documentation :slight_smile:

7 Likes

Hi Prodigga,
An explanatory tooltip is landing soon. You can find information here:

2 Likes

Hi!

We are updating documentation.
This option represents BuildOptions.None,BuildOptions.CompressWithLz4 andBuildOptions.CompressWithLz4HC of BuildPipeline.BuildPlayer API

Some info here:

Compression applied to Player data (scenes and resources).
None - no or default platform compression.
LZ4 - fast compression suitable for Development Builds.
LZ4HC - higher compression rate variance of LZ4, causes longer build times. Works best for Release Builds.

On Android default compression is ZIP. It compresses generally slightly better than LZ4HC, but has slower decompression speed.
I would recommend to use LZ4HC for release build to have better loading performance. And LZ4 during development as it generally compresses build faster.

80 Likes