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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment