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
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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
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/