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
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
- [macOS] Editor crashes after entering Play mode with overlapping GameObjects with Cloth Component and Cloth Inter-Collision enabled
- Look Dev constantly regenerates the default Volume Profile when set to "None" instead of using the default one
- Look Dev errors are spammed when opening a new HDRP project when Look Dev was added to the layout in the previous project
- URP Scene Templates are not editable when first opened from the New Scene dialog
- Look Dev window flickers when resizing the window after docking it
Resolution Note:
A third party plugin is generating invalid IL code, causing IL2CPP to report an error.