Search Issue Tracker
Fixed
Fixed in 1.19.0
Votes
0
Found in [Package]
1.18.9
Issue ID
ADDR-2055
Regression
No
[Addressables] Remote Catalog cannot be downloaded when cached catalog.json is corrupted
How to reproduce:
1. Open the user's attached project and Scenes/Menu scene
2. In the Addressables Groups window, select Menu
3. Set Build Path to RemoteBuildPath and LoadPath to RemoteLoadPath (make sure that Addressables Hosting is enabled)
4. In the Addressables Groups window select Build/New Build/Default Build Script
5. Select File/Build settings and enable Development Build and Build the Player
6. Run the Player and press Check for Catalog Update and Check for new Content
7. Select Load and see that Scene is loaded successfully
8. Open Scenes/Menu scene and change the Main Camera background color to blue (or any other color)
9. In the Addressables Groups window select Build/New Build/Default Build Script
10. In Windows Explorer, open "C:\\Users\\%UserName%\\AppData\\LocalLow\\DefaultCompany\\BrokenCatalog
com.unity.addressables"
11. Open "catalog_data.json" in a HexEditor, change the file to corrupt it and save (add random numbers in the middle of the file)
12. Run the Player again and select Check for Catalog Update
Expected result: Console prints notification that Addressables are not able to load locally cached catalog and it's possible to download a working catalog again
Actual result: Console prints "No catalog update available" and there is no way to download a working catalog
Reproducible with: 1.16.9 - 1.18.9 (2019.4.28f1, 2020.3.13f1, 2021.1.13f1, 2021.2.0b1)
Could not test with: 2018.4 (could not downgrade)
Note: Deleting the corrupted catalog.* files allows the player to download a catalog update again
Comments (1)
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
- Crashes in the wild on Vulkan in CreateDepthSurfaceImpl
- Position and rotation of a GameObject with Rigidbody reset when it is enabled and moved in the same Update call and the frame rate is low
- “Ignoring depth surface store action as it is memoryless” warnings thrown when Capturing new Snapshot while in Play Mode
- Certain textures are not loaded when using the "Load texture data on demand" feature
- [Android][OpenGL] The 2DLight is disproportionately bright on some Android devices when OpenGLES3 is used
Peter77
Jun 26, 2021 04:23
Related forum thread:
https://forum.unity.com/threads/case-1343727-corrupted-cached-catalog-json-causes-that-no-remote-catalog-can-be-downloaded-anymore.1127105/