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)
Comments (1)
-
thexdd
Jun 13, 2024 08:17
Have got the same issue on Unity 2022.3.33f1
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note (fix version 1.19.18):
Fixed in 1.19.18