Search Issue Tracker

Fixed

Fixed in 2021.1.0a2

Votes

0

Found in

2020.3.42f1

2021.1.0a1

Issue ID

UUM-20427

Regression

No

IL2CPP.HashCodeCollisionException is thrown when Generic Method Overloads have the same signatures but different type parameter names

--

-

How to reproduce:
1. Open the user-attached “My project.zip” project
2. Make sure the Scripting Backend is set to IL2CPP in the Player Settings
3. Build the project with the “SampleScene” Scene

Expected result: Build succeeds
Actual result: Build fails with - “ Unity.IL2CPP.HashCodeCollisionException: Hash code collision on value 3DBDEBB0AD23398E5698B365D6ACAD5974D15F08 "

Reproducible with: 2020.3.42f1, 2021.1.0a1
Not reproducible with: 2021.1.0a2, 2021.3.15f1, 2022.1.24f1, 2022.2.1f1, 2023.1.0a21

Reproducible on: macOS Monterey 12.6 (Intel), Windows 10 (User reported)

  1. Resolution Note (fix version 2021.1.0a2):

    Fixed in: 2021.1.0a2

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.