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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
A third party plugin is generating invalid IL code, causing IL2CPP to report an error.