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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
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.