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
- URP ShadowCaster2D is misplaced and distorted when used with rotated Perspective Camera
- UI mesh is drawn twice when two cameras are used
- The Scene view top menu bar disappears when any Draw Mode other than "Wireframe" is selected in the specific project with a corrupted Material
- TabView.tabClosed EventHandler passes the wrong tab index as parameter when closing a tab from oldest to newest order
- Rigidbodies clip through terrain and snap back up when Heightmap Resolution is bigger than the terrain size
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/