Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


expirationDelay

The number of seconds that an AssetBundle may remain unused in the cache before it is automatically deleted.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public int expirationDelay { get; set; }

Remarks

This value defaults to 150 days (12,960,000 seconds). Lower values will cause the cache to be cleaned more aggressively in order to minimize disk storage usage. The delay cannot be set greater than 12,960,000 seconds.