Search Issue Tracker

Fixed in 2022.1.X

Fixed in 2021.1.X, 2021.2.X

Fix In Review for 2020.3.X

Votes

2

Found in

2019.3.15f1

2019.4

2021.1

Issue ID

1285338

Regression

No

Crash on MissingMethodException when running a build

IL2CPP

-

How to reproduce:
1. Open the user's attached project ("ReferenceConverterNotFound.zip")
2. Build and run

Expected results: The project is built and run successfully
Actual results: The project is built, but when it's run it crashes

Reproducible with: 2019.4.13f1, 2020.1.11f1, 2020.2.0b9, 2021.1.0a1
Could not test with: 2018.4.28f1 (Couldn't downgrade)

Exception:
MissingMethodException: Constructor on type 'System.ComponentModel.ReferenceConverter' not found.

Note:
1. Reproducible with Mono and IL2CPP
2. Reproducible with Windows and Mac

  1. Resolution Note (fix version 2022.1):

    Fixed in: 2022.1.0a3

    Scripting: Fix runtime crashes due to TypeConverter classes missing their default constructor

  2. Resolution Note (fix version 2021.2):

    Fixed in: 2021.2.0b7

  3. Resolution Note (fix version 2021.1):

    Fixed in: 2021.1.17f1

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.