Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.4p2
Issue ID
978098
Regression
No
[AssetBundles] Application crashes when cleaning cache with overloaded CleanCache method
To reproduce:
1. Download and open attached "438308_cacheExpiration.zip" project.
2. Build and run the project on any platform (Android/iOS/Standalone).
3. When project loads, press "Load" button to load assetbundle.
4. After it is loaded, in "Clear Delay" input field enter a time after which the cache will be cleared. For example 2.
5. Tick the "Clear with delay" checkbox.
6. Press "Clear Cache" button.
Expected: Application does not crash when cleaning cache.
Actual result: Application crashes when trying to clean cache with delay.
Reproduced with: 5.6.4p2, 5.6.4p4.
Notes: In 2017 CleanCache method was replaced with ClearCache and therefore it does not crash anymore. Issue did reproduce on iOS/Android/Desktops and did not reproduce with WebGL. Issue only happens when CleanCache method is overloaded with "expiration" parameter. Cleaning cache with non-overloaded method works well.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note:
Closing old tickets in lieu of more recent, higher priority tickets