Search Issue Tracker
Fixed
Fixed in 2020.3.47f1, 2021.3.21f1, 2022.2.11f1, 2023.1.0b9, 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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment