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
- Crash on JobQueue::HasJobGroupIDCompleted when closing the Editor while in Play mode on a specific project
- In "Preferences" section the “SpriteShape” menu item, the details page title “SpriteShape”, and “ControlPoint” entries are displayed as code strings rather than formatted UI strings
- Errors thrown constantly when Virtual Offset Debug is enabled and lighting was baked on AMD machine
- Persistent Memory Leak when reloading domain and using Distance-based Ghost Importance
- HDRP project doesn't render in standalone player when using High stripping
Resolution Note:
A third party plugin is generating invalid IL code, causing IL2CPP to report an error.