Search Issue Tracker
In Progress
Fixed in 2021.3.21f1, 2022.2.11f1, 2023.1.0b9, 2023.2.0a6
Fix In Review for 2020.3.47f1
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
- Screen.resolutions returns resolutions that include the notch area when called on Macs with a notch
- Shader Graph Editor Throws Exception When Deleting Custom Function Node
- Outlines are visible on Mesh when Alpha Clipping is enabled and Surface Type is set to Opaque
- UI Elements are not getting focused when navigating through using arrow keys if they’re placed in a specific position
- Deleted scene selection is wonky in the Build Settings
Add comment