Search Issue Tracker
Fixed in 2021.2.X
Votes
3
Found in
2019.2.4f1
2020.1
Issue ID
1186310
Regression
No
Caching.IsVersionCached() returns false when loading bundle from cache
To reproduce:
1. Open attached project
2. Press Play in the editor
3. Check console
Actual result: The errors appear when loading bundles from cache
Expected result: The Caching.IsVersionCached() should return true and load bundle from the cache
Reproduced in: 2019.2.9f1; 2020.1.0a8
Not able to check on the lower version due to errors.
Errors:
Bundle was not cached when it should have been, should be cached: True, is cached: False
Unable to move cache file 'C:/Users/martyna/AppData/LocalLow/Unity/Temp/851ca9e1e2185f54ba6d416c6811bc7d' to 'C:/Users/martyna/AppData/LocalLow/Unity/Synapse Games_Asset Bundle Script Test/bundle-58-StandaloneWindows.unity3d/01ae570b753ae711b805784b3a21d9ba': destination exists
Error while downloading Asset Bundle: Couldn't move cache data 'C:/Users/martyna/AppData/LocalLow/Unity/Temp/851ca9e1e2185f54ba6d416c6811bc7d' into place 'C:/Users/martyna/AppData/LocalLow/Unity/Synapse Games_Asset Bundle Script Test/bundle-58-StandaloneWindows.unity3d/01ae570b753ae711b805784b3a21d9ba' when caching AssetBundle 'https://cb-cdn.synapse-games.com/assetbundles/2018.3/dev/bundle-58-StandaloneWindows.unity3d'.
NullReferenceException: Object reference not set to an instance of an object
BundleCachingTest+<LoadBundleRoutine>d__3.MoveNext () (at Assets/Scripts/BundleCachingTest.cs:70)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <f8191ea8d6cf4fcd9c8b04240ae90727>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment