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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Add comment