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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment