Search Issue Tracker
Fixed
Fixed in 6000.0.19f1
Votes
1
Found in
6000.0.7f1
Issue ID
UUM-77003
Regression
No
[Android] Build fails with Error "Failed to build Addressables content, content not included in Player Build. "Value cannot be null. Parameter name: key"" when the empty folder is selected as addressable
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/New Scene.unity” Scene
3. Switch to Android Platform
4. Select Build App Bundle (Google Play)
5. Build
Expected result: Build completes successfully
Actual result: Build fails with Error “Failed to build Addressables content, content not included in Player Build. "Value cannot be null.
Parameter name: key"“
Reproducible with: 1.0.0 (2023.2.0b15), 1.0.3 (6000.0.7f1)
Could not test with: 1.0.3 (6000.0.13f1) (error CS0246: The type or namespace name 'NUnit' could not be found)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- The user’s suggested fix:
if (entry.BundleFileId == null) continue;
if (bundleIdToEditorDataEntry.ContainsKey(entry.BundleFileId))
{
continue;
}
Comments (1)
-
xmarleauFFG
Jul 30, 2024 19:54
The issue is with the "Addressables for Android" package version 1.0.3, its not related to the Unity version since its also happening in Unity 2023.2.
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note (fix version 6000.0.19f1):
This issue is fixed in com.unity.addressables.android package, ver 1.0.4