Search Issue Tracker
Fixed
Votes
9
Found in [Package]
2.7.0
Issue ID
ADDR-4044
Regression
No
Error “InvalidOperationException: Duplicate address ‘2’ found in Addresses.” is present when building Addressables
Original Summary (Jira didn't like the long summary):
Error “InvalidOperationException: Duplicate address ‘2’ found in Addresses.” is present when building Addressables with the Scriptable Build Pipeline and Internal Asset Naming Mode set to “Dynamic” while the Asset Group is set to “Pack Separately”
Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Addressables Groups (Window > Asset Management > Addressables > Groups)
3. Select “Build > New Build > Default Build Script”
4. Observe the Console
Expected result: No Errors exist, and Addressables are built
Actual result: Error “InvalidOperationException: Duplicate address '2' found in Addresses. Each address must be unique.“ is present
Reproducible with: 2.4.3 (6000.0.48f1), 2.7.0 (2022.3.65f1, 6000.0.55f1, 6000.1.14f1, 6000.2.0f1, 6000.3.0a4)
Testing environment: Windows 10 Enterprise 21H2
Not reproducible on: No other environment tested
Notes:
- This exception does not occur when the Internal Asset Naming Mode is set to anything other than Dynamic
- Reproducible when there are numerous files in the group
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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/ADDR-4064