Search Issue Tracker
Fixed in 2021.3.21f1
Fixed in 2023.2.X
Votes
1
Found in
2021.3.18f1
2022.2.5f1
2023.1.0b1
2023.2.0a1
Issue ID
UUM-25428
Regression
No
IL2CPP build fails when using EditorUserBuildSettings.il2CppCodeGeneration
How to reproduce:
1. Download the attached project
2. Build with IL2CPP as scripting backend
3. Observe the console window
Expected result: Build does not fail
Actual result: Build fails with a "cannot initialize return object of type 'Il2CppFullySharedGenericAny ' with an lvalue of type 'void " error
Reproduced with: 2020.3.44f1, 2021.3.18f1, 2022.2.5f1
Could not test with: 2023.1 (EditorUserBuildSettings.il2CppCodeGeneration is deprecated)
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
- "IndexOutOfRangeException" and "NullReferenceException" are thrown and Element disappears from UI Builder when undoing rename of element in "Open Instance in Context" menu
- Nothing happens when entering a converter ID to target property in the Add Binding window when a converter ID was already added and removed
- Select Scriptable Object window freezes and becomes unresponsive when currently opened UXML Template is selected for binding's Data Source
- [Linux] “ReleaseButton expects buttonId >= 0” error is thrown when importing Assets via drag and drop
- Asset gets unselected and added Subgraphs list item is not undone when performing Undo in Heatmap with Default Values asset Inspector
Resolution Note (fix version 2021.3.21f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-5942
Resolution Note (fix version 2023.2):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-5942