Search Issue Tracker
Fixed in 2020.3.47f1
Fixed in 2020.3.X, 2021.3.X, 2022.2.X, 2023.1.X, 2023.2.X, 2023.2.0a6
Votes
0
Found in
2020.3.45f1
2021.3.19f1
2022.2.8f1
2023.1.0b6
2023.2.0a4
Issue ID
UUM-27951
Regression
No
[IL2CPP] Build can fail when 2 Assembly Definitions have similar names
How to reproduce:
1. Open the attached Project "MC2BuildTest2021"
2. Ensure IL2CPP is set as the Scripting Backend in Project Settings
3. Build the Project
Expected result: the Build suceeds
Actual result: The Build fails with the following error:
"System.AggregateException: One or more errors occurred. (Exception while merging Unity.IL2CPP.Contexts.Components.MetadataUsageCollectorComponent)
---> System.InvalidOperationException: Exception while merging Unity.IL2CPP.Contexts.Components.MetadataUsageCollectorComponent
---> System.ArgumentException: An item with the same key has already been added. Key: Vector3_get_forward_mAA55A7034304DF8B2152EAD49AE779FC4CA2EB4AMagicaCloth2_MetadataUsageId"
Reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.2.8f1, 2023.1.0b6, 2023.2.0a4
Notes:
- Issue does not reproduce with Mono set as the Scripting Backend
- Changing the Assembly's "MagicaCloth2" name to "MagicaCloth_2" makes the issue no longer reproducible
- Removing any of the Assemblies makes the issue no longer reproducible
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Layer Palette Profile" Asset is automatically applied to the second Terrain but doesn't load any layers
- "Terrain Tools" shortcut conflicts with the Overlays shortcut by default
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- Inconsistent hotkeys in the Terrain tool with the "Terrain Tools" installed and not installed
- "DebugAllocatorMode" option changes when changed in another Editor instance
Add comment