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
- Shader warning in 'Hidden/Core/DebugOccluder' thrown after building High Definition 3D Sample Template
- Audio Mixer “+” buttons overlap with UI when the Audio Mixer window layout is set to Horizontal
- "Clear" button in the "Set project display name" closes all the pop-up instead of clearing just a name from the field
- Video Player renders no video on specific devices when using Vulkan
- The Editor slows itself down by showing tons of warnings when the majority of TransformAccessArrays content are NullRefs
Add comment