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
- Matching Selectors list not updating correctly with element's pseudo-state updates
- [Android] Crash on vendor/lib64/egl/libGLES_mali.so when Graphics Jobs(Experimental) is disabled and the Player is running on the Google Pixel 6 with the March security patch installed
- Profiler does not profile after building the Project with Autoconnect Profiler Option enabled
- Editor slows down when selecting a script with the [HideInInspector] attribute on arrays with dynamic values
- [XR] Custom Pass not working as intended with Single Pass Instanced when XR is initialized after runtime start
Resolution Note:
A third party plugin is generating invalid IL code, causing IL2CPP to report an error.