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
- The build size is larger when Models have Animation Type set to Generic
- Error "ArgumentException: Both 'ok' and 'cancel' strings are null or empty" logged when User is trying to create circular dependencies in UI Builder Hierarchy
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
Resolution Note (fix version 1.1.1):
fixed in Multiplayer hlapi 1.1.1