Search Issue Tracker
Fixed in 5.3.5
Votes
0
Found in
5.3.4f1
Issue ID
786259
Regression
Yes
[AssetBundles] When cache fills up old bundles are not removed to free space - new bundles are not cached
Reproduction steps:
1) Open attached project
2) Enter play mode
3) If "SpaceOccupied" value is not 0 then press "ClearCache" button;
4) Press "D1" button and wait for downloading of asset bundle to finish
--- After downloading script calls "AssetBundle.Unload(bool)" method
--- In "AssetBundles" section cached asset bundles are marked in yellow color
5) Press "D2" button and wait for downloading of asset bundle to finish
6) Press "D3" button and wait for downloading of asset bundle to finish
--- After this step cache is almost full and there is not enough space for another one asset bundle
7) Press "D4" button
ACTUAL RESULT:
When you press "D4" button the warning message appears in Unity Console: "Not enough space in cache to write file". The asset bundle is being downloaded but not cached.
EXPECTED RESULT:
New asset bundle should be downloaded and cached, while the oldest one should be removed from cache (they all are UNLOADED - AssetBundle.Unload(true) method is called on each of them).
Regression introduced in version 5.3.2p1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment