Search Issue Tracker
Fixed
Fixed in 1.19.18
Votes
0
Found in [Package]
1.19.17
Issue ID
ADDR-2490
Regression
No
[Addressables] BuildLayoutGenerationTask fails with exception "The key 'Default Local Group' was not present in the dictionary"
Reproduction steps:
1. Open the attached 'Artifact Path' project
2. Go to the 'Window -> Asset Management -> Addressables -> Groups'
3. 'Build -> New Build -> Default Build Script'
4. Observe the Console
Expected result: The build finishes successfully, no exceptions are logged in the Console
Actual Result: The build finishes successfully, an exception is logged in the Console
Reproducible with: 1.19.15 (2020.3.26f1, 2021.2.8f1), 1.19.17 (2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b4, 2022.2.0a2)
The logged exception:
Build Task BuildLayoutGenerationTask failed with exception:
The given key 'Default Local Group' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2\[TKey,TValue].get_Item (TKey key) \[0x0001e] in <4a132ca6e2db43bdb975b154d6271b43>:0
at UnityEditor.AddressableAssets.Build.BuildPipelineTasks.BuildLayoutGenerationTask.CreateBuildLayout () \[0x00b28] in /Users/valeryia.kanavalava/Downloads/1396991_Artifact Path/Library/PackageCache/com.unity.addressables@1.19.17/Editor/Build/BuildPipelineTasks/BuildLayoutGenerationTask.cs:291
at UnityEditor.AddressableAssets.Build.BuildPipelineTasks.BuildLayoutGenerationTask.Run () \[0x00000] in /Users/valeryia.kanavalava/Downloads/1396991_Artifact Path/Library/PackageCache/com.unity.addressables@1.19.17/Editor/Build/BuildPipelineTasks/BuildLayoutGenerationTask.cs:330
at UnityEditor.Build.Pipeline.BuildTasksRunner.Run (System.Collections.Generic.IList`1\[T] pipeline, UnityEditor.Build.Pipeline.Interfaces.IBuildContext context) \[0x00099] in /Users/valeryia.kanavalava/Downloads/1396991_Artifact Path/Library/PackageCache/com.unity.scriptablebuildpipeline@1.19.5/Editor/Shared/BuildTasksRunner.cs:56
UnityEditor.GenericMenu:CatchMenu (object,string\[],int) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:125)
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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note (fix version 1.19.18):
Fixed in 1.19.18