Unity Issue Tracker - Cache folders remain empty after discarding the cached bundle
Fixed
UUM-27439
Cache folders remain empty after discarding the cached bundle
Unity: Asset Bundles
Fixed
2023.2.X
2023.1.X
2022.2.X
2021.3.X
Won't Fix
2020.3.X
Fixed issue where empty folders remain in the cache when the max storage space is exceeded.
Closing because 2020.3 LTS is near the end of its support cycle.
Reproduction steps:
1. Open the attached project “FoldersRepro“
2. Open “Assets/Scenes/Intro.unity“ Scene
3. Enter the Play mode
4. Set the “Expiration“ field to 60 and the “Max Storage“ field to 1
5. Press the “Save Cache Settings“ button
6. Press the “Load Next Scene“ button
7. Press the “>>> Start Loading Thumbnails“ button
8. Observe folders being created, but not erased
Expected result: The folders without cache are erased
Actual result: Empty folders remain within the folder where the cache is stored