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
- Color picker does not show the correct color when selecting color on the moving object
- “Asset X has no meta file, but it's in an immutable folder. The asset will be ignored.” errors are thrown when importing package with files not listed in package.json's "files" property
- There is no way to adjust the HDR Paper White value of the Unity Editor's interface, making it difficult/uncomfortable for some developers to work on very dark/bright scenes in HDR
- Animator window has a dropdown button that throws “MissingReferenceException” error on a new project when the previous project had a GameObject with an animation
- Animator State name overflows outside the visual box when the State has a long name
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.