Search Issue Tracker
Fixed
Votes
1
Found in [Package]
1.16.1
Issue ID
ADDR-1604
Regression
Yes
[Addressables] GetDownloadSizeAsync() fails with an InvalidKeyException when Play Mode Script is set to Use Asset Database
How to reproduce:
1. Open attached "addressables-experiments.zip" project and Scenes/DownloadSizeTests scene
2. Enter the Play mode
3. Observe the errors in the Console window
Expected result: No errors in the Console window
Actual result: Errors in the Console window appear
Reproducible with: 1.16.1 - 1.16.7(2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0b11, 2021.1.0a4)
Not reproducible with: 1.10.0 - 1.15.1(2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0b11, 2021.1.0a4)
Notes:
1. GetDownloadSizeAsync() works as expected for the "Simulate Groups" and "Use Existing Build" play mode options.
2. The exception that is shown in the Console window:
"Failed to get download size: System.Exception: ChainOperation of Type: System.Int64 failed because dependent operation failed
Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=CancelLoadTest, Type=System.Object"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment