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
- Crash on ShowDelayedContextMenu(bool) when changing the Size options of a Visual Element in the UIToolkit Inspector
- Crash when total memory consumption is over 2GB
- Red dots are rendered when copying texture with ASTC format and CompressGpu
- [Linux] "Trying to load color backbuffer into a complex RenderPass setup" error is thrown after entering Play mode in AR Mobile template project
- [Android] Neither of the callbacks are called when several videos with VideoPlayer are spawned on the target on the Google Pixel devices
Resolution Note (fix version 1.1.1):
fixed in Multiplayer hlapi 1.1.1