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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment