Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


compressionEnabled

Controls compression of cache data. Enabled by default.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public static bool compressionEnabled { get; set; }

Remarks

If cache compression is enabled, then all data will be stored in a compressed form using fast LZ4 algorithm. This property affects only further downloads. It doesn't compress or decompress existing content in the cache.
Default value is "true".