Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.19.18
Issue ID
ADDR-2624
Regression
No
InvalidKeyException' is thrown when key is a String Array in DownloadDependenciesAsync method
Reproduction steps:
1. Open the attached 'New Unity Project'
2. Open the 'AddressablesExample' Scene
3. Go to the 'Window -> Asset Management -> Addressables -> Groups'
4. 'Build -> Clean Build -> All'
5. 'Build -> New Build -> Default Build Script'
6. Enter Play mode
Expected result: No errors are in the Console
Actual result: 'InvalidKeyException' is thrown in the Console
Reproducible with: 1.19.17 (2019.4.36f1), 1.19.18 (2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a7)
Full error:
UnityEngine.AddressableAssets.InvalidKeyException: Exception of type 'UnityEngine.AddressableAssets.InvalidKeyException' was thrown., Key=default, Type=System.Object
UnityEngine.AddressableAssets.Addressables:DownloadDependenciesAsync (object,bool)
AddressablesExample/<Start>d__0:MoveNext () (at Assets/AddressablesExample.cs:14)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr) (at /Users/bokken/buildslave/unity/build/Runtime/Export/Scripting/Coroutines.cs:17)
Comments (1)
-
vat0914
Nov 09, 2023 16:46
faced the same problem.
It worked before, but later 'Asset bunld' remote control became impossible with the above error.
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
- Getting a deprecated package for JetBrains Rider pop up when opening or creating a project
- [Android] Volume level of the same audio file is different on Samsung Galaxy Tab A8 between 2023.3.0b3 and 2023.3.0b4
- ‘Expected end of value’ warning occurs when a property declaration includes five or more variable references
- Crash on BurstCompilerService::CompileAsync when entering Play mode in a specific scene
- InvalidOperationException when using Game Camera Preview in Scene window with a custom RenderGraph pass
Resolution Note:
The issue is an awkwardness with the API. If you use the DownloadDependenciesAsync override that includes MergeMode as one of the parameters, it should work as expected.