Search Issue Tracker
By Design
Votes
4
Found in
2018.3.0a1
2018.3.13f1
2019.1.0a1
2019.2.0a1
2019.3.0a1
Issue ID
1149342
Regression
No
Cache system Caching.IsVersionCached reporting true but Caching.GetCachedVersions has no knowledge the bundle
Steps to reproduce:
1. Open attached project
2. Switch to Android platform
3. Play the editor
4. Wait until asset bundle manager report in console Init completed
5. Click on start downloading button and wait until all bundles are downloaded
6. When the bundles are downloaded click on check download buttons.
7. Observe that AssetBundlesManager.cs outputs the following to the console window: Debug.LogError("Caching.IsVersion cached is reporting true but Caching.GetCachedVersions has no knowledge this bundle.");
Expected result: Caching.GetCachedVersions should return all cached versions of the given AssetBundle
Reproduced in: 2019.3.0a1, 2018.3.13f1, 2018.3.0a1
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
- Crash on mecanim::SetValueWeight when switching the AnimationMixerPlayable connection with Animator's UpdateMode set to "Animate Physics"
- The "StringComparer.InvariantCultureIgnoreCase.GetHashCode()" returns different Hash Codes for the same word with the only difference being case sensitivity in WebGL
- 2D Light Textures show the lights of any 'blend style' index higher than theirs (if present) when they aren't visible by the Camera using Render Graph
- [SpeedTree] Wireframe mode not rendering correctly ST assets
- Light2D affecting only the Default Sorting Layer will also affect any Custom Lit Sprite not on that Layer when using Render Graph
Resolution Note:
Incorrect API usage. API "IsVersionCached" used takes a URL and hash, API "GetCachedVersions" takes an assetBundleName, but same value is being passed into the URL and assetBundleName parameters which is incorrect. Code should be changed to use the API "bool IsVersionCached(CachedAssetBundle cachedBundle)" as CachedAssetBundle is constructed with an assetBundleName and hash.