• SherryChaos's avatar
    Extract zip via temp file using UnityWebRequest · a050eb5e
    SherryChaos authored
    Download the .zip to a temporary file and extract from disk instead of loading the entire archive into memory. Uses DownloadHandlerFile to write to Application.temporaryCachePath and replaces the in-memory ExtractZipFile path with a new ExtractZipFileFromFile method that streams entries from the zip file, updates extraction progress, creates directories, and ensures proper cleanup of the ZipFile stream. This reduces memory usage when handling large zip assets.
    a050eb5e
Boot.cs 13.2 KB