Search Issue Tracker
Active
Votes
0
Found in
2022.3.66f1
6000.0.57f1
Issue ID
UUM-117106
Regression
No
Errors are thrown and builds fail when any Il2CppSetOption is set
How to reproduce:
1. Open the “IL2CPPOption.zip“ project
2. Go to Edit → Project Settings → Player
3. Change the Scripting Backend option to “IL2CPP”
4. Open the “TestSystem.cs“ script in any IDE
5. Uncomment any one of these three lines (or all of them):
//[Il2CppSetOption(Option.NullChecks, IL2CppAttributeConfig.Enabled)]
//[Il2CppSetOption(Option.ArrayBoundsChecks, IL2CppAttributeConfig.Enabled)]
//[Il2CppSetOption(Option.DivideByZeroChecks, IL2CppAttributeConfig.Enabled)]
6. Save the changes to the script, then focus on the Editor
7. Observe the Console
8. Build and run the project
Expected result: No errors are thrown after the domain reload, and the project is built successfully
Actual result: “Processing assembly Library/Bee/artifacts/1900b0aE.dag/Assembly-CSharp.dll“ errors are thrown after the domain reload, and the project build fails
Reproducible in: 2022.3.19f1, 2022.3.66f1, 6000.0.57f1, 6000.2.0a10
Not reproducible in: 6000.2.4f1, 6000.3.0b1
Could not test in: 2022.1.0a1, 2022.3.10f1 (Unsolvable Entities package errors)
Fixed in: 6000.2.0b1
Reproduced on: Windows 11 Pro (24H2)
Not reproduced on: No other environment
Notes:
- If the issue does not reproduce anymore (for example, after upgrading it to 6000.2.4f1), the bug will fail to reproduce again
- I suspect no regression will be found, and most of the versions, where the regression could happen, have the Entities package errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Baked Lightmap ”View” button text is aligned incorrectly
- Lightmap Asset icon changes colours after Baked Lightmap Viewer window is opened
- VideoClipImporter preset not applied when applying Preset Selector on already imported video clips
- Frame Debugger gets disabled when any Editor window is maximised and minimised
- TextMeshPro InputField view is not updated when OnEndEdit is triggered
Add comment