Search Issue Tracker
Fixed in 1.1.1
Votes
2
Found in [Package]
2020.2
2020.2.0f1
2021.1
2021.2
Issue ID
1300217
Regression
No
[Mobile][IL2CPP] Build fails with the following error: "Unity.IL2CPP.HashCodeCollisionException: Hash code collision on value"
How to reproduce:
1. Open the user's attached project "Ads Creator Client export.zip"
2. Make sure all the Scenes are selected in the Build Settings
3. In the Project Settings navigate to Player > Publishing Settings and tick off the "Custom Keystore" option
4. Build the project to either an Android or iOS device
Expected result: Builds to Android without any errors
Actual result: Build fails with the following Console error: "IL2CPP error (no further information about what managed code was being converted is available)
Unity.IL2CPP.HashCodeCollisionException: Hash code collision on value `483E6DDCA003A8CEBD350443456C4F5FB7439B58`
Existing Item was : `System.Void"
Reproducible with: 2020.2.2f1, 2021.1.0b3, 2021.2.0a2
Could not test with: 2018.4.31f1, 2019.4.18f1 (multiple Console errors after downgrading, missing references that I couldn't fix)
Notes:
- Does not reproduce on Mono
- Reproduces on both target architectures (ARMv7, ARM64)
- Reproduces on MacOS when building to iOS (does not reproduce when building to standalone)
- Reproduce on Windows 10 when building to Android (does not reproduce when building to standalone)
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
- 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
Resolution Note (fix version 1.1.1):
fixed in Multiplayer hlapi 1.1.1