Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2019.4.0f1
2020.1
2020.2
Issue ID
1263203
Regression
No
[Asset Bundles] Bundles are not cached when using certain request URLs
Reproduction steps:
1. Open the attached project ("case_1263203-CRC-Not_Working.zip")
2. Open the repro scene ("SampleScene")
3. Enter Play Mode
4. Click on "Download Bundle". button
5. Click on "GetCachedVersions ...", and observe that bundles get cached
6. Exit Play Mode
7. Select MainCamera GameObject
8. Check "Use Customer URL" checkbox on "CRC Test 2" component
9. Repeat steps 3-5
Expected result: Bundle gets cached
Actual result: Bundle is not cached
Reproducible with: 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Couldn't test with below 2019.2.0a6 (serialization errors when loading bundles)
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note:
For this case
To have Caching.GetCachedVersions(bundleName, hashes); works correctly with a specify bundle name, the user should use "public static Networking.UnityWebRequest GetAssetBundle(string uri, CachedAssetBundle cachedAssetBundle, uint crc);" when getting the bundle. With the CachedAssetBundle parameter, a name can be defined by the user.