Search Issue Tracker

Third Party Issue

Votes

0

Found in

2021.3.32f1

2022.3.17f1

2023.2.0f1

2023.3.0a14

Issue ID

UUM-61725

Regression

No

IL2CPP error is thrown when building project in Debug build mode

--

-

Reproduction steps:
1. Open attached project “IL2CPP_Build_Error_Project“
2. Click on the Bug Report > Click this to build button in the top menu bar to build the project
3. Observe Console window

Expected result: Console registers no errors
Actual result: The error “Error: IL2CPP error for method '<method>' in <path> System.NullReferenceException: Object reference not set to an instance of an object.“ is continuously logged in Console

Reproducible with: 2021.3.32f1, 2022.3.17f1, 2023.2.0f1, 2023.3.0a14

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environment tested
Couldn’t test on: macOS 13.6.3 - error saying that IL2CPP is not installed is shown when building

  1. Resolution Note:

    A third party plugin is generating invalid IL code, causing IL2CPP to report an error.

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.