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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
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.