Search Issue Tracker

Fixed in 2019.2.X

Fixed in 2017.4.X, 2018.3.X, 2019.1.X



Found in



Issue ID




[IL2CPP] il2cpp::metadata::Il2CppTypeHash::Hash crashes Player on OnCollisionEnter2D



To reproduce:

1. Download attached project “My First Unity" and open in Unity
2. Open "Main" scene
3. Change Platform to Standalone, iOS or Android
4. Change Scripting Backend to IL2CPP
5. Build and Run project
6. Wait while "Bird" gameObject drops on the ground

Expected results: Player does not Crash
Actual results: Player Crashes

- This issue appears on Windows Standalone, macOS Standalone, iOS, and Android (IL2CPP)
- This issue does not appear on Editor
- This issue does not appear if Scripting Backend is Mono
- On Unity 2018.1 I get another Stack Trace
- Stack Traces are shared in Comments section
- Could not check for regression on Unity 2018.1.0a3 because Unity Editor on opening becomes corrupted

Reproduced on Unity 2018.1.0a4, 2018.1.9f2, 2018.2.20f1, 2018.3.4f1, 2019.1.0b2 and 2019.2.0a3
Not reproduced on Unity 2017.4.19f1, 2018.1.0a2
Regression on Unity 2018.1.0a4

Comments (1)

  1. mikael_lingongames

    Apr 15, 2019 12:18

    Is there a possibility this bug would be fixed also for 2018.3? Updating to a 2019.2.0 alpha version is not possible for most projects.

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.