Search Issue Tracker
Fixed in 1.8.3
Votes
1
Found in [Package]
1.3.3, 1.6.0
Issue ID
1214409
Regression
Yes
[Addressables] ArgumentOutOfRangeException error is thrown when loading the same catalog twice using LoadContentCatalogAsync
How to reproduce:
1. Open the attached project ("case_1214409-AASCatalogtest.zip")
2. Open the repro scene ("SampleScene")
3. Build Player Content
4. Enter Play Mode
5. Inspect the Console
Expected results: No errors are thrown
Actual results: "ArgumentOutOfRangeException: Index was out of range." error is thrown
Reproducible with: 2018.4.16f1, 2019.2.20f1, 2019.3.0f6, 2020.1.0a22
Couldn't test with: 2017.4 (package not supported)
Reproducible with package versions: 1.3.3, 1.6.0
Not reproducible with package versions: 1.1.5, 1.2.4
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
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
- Rigibody sliding over a flat surface that is made of several GameObjects detects false collisions when Collision Detection is set to "Continuous" or "Continuous Dynamic"
- UI Toolkit Label height is incorrectly calculated when using max-width with percentage value
- Visual Effect Material causes Scene view to update continuously when both Scene and Game views are open, despite "Always Refresh" being disabled
Resolution Note (fix version 1.8.3):
Added dependencies to explicitly loaded catalogs that point to their local and remote hash locations. This feeds into DetermineIdToLoad in checking if the catalog has an updated version at the "remote" path.
This came with the need for an addition of a parameter to auto release the content catalog operation. If the handle isn't released when we re-load or check for catalog updates it'll still point towards the cached catalog location. The handle has to be released in order to load/update the secondary catalog.