Search Issue Tracker
Fixed in 2022.1.8f1
Fixed in 2021.3.7f1
Votes
0
Found in
2021.3.6f1
Issue ID
UUM-9976
Regression
Yes
Build crashes when running while using "CreateDelegate" method and IL2CPP Scripting Backend
How to reproduce:
1. Open the attached project “IN_3846.zip”
2. Press Edit → Project Settings → Player
3. Set Scripting Backend to IL2CPP
4. Press File → Build And Run
Expected result: Build does not crash
Actual result: Build crashes
Reproducible with: 2021.2.0b16, 2021.3.6f1
Not reproducible with: 2020.3.36f1, 2021.2.0b15, 2022.1.9f1, 2022.2.0a18, 2023.1.0a2
Reproducible on: Windows 10 Pro
Notes:
- The issue does not appear on Mono Scripting Backend
- The issue does not appear on IL2CPP Scripting Backend when “IL2CPP Code Generation” is selected as “Faster (smaller) builds”
First lines of the Stack Trace:
0x00007FFCE8A38DEF (GameAssembly) \[C:\\Program Files\\Unity\\Editor\\2021.3.3f1\\Editor\\Data\\il2cpp\\libil2cpp\\vm\\Type.cpp:1327] il2cpp::vm::Type::ConstructDelegate
0x00007FFCE8A5269D (GameAssembly) \[C:\\Program Files\\Unity\\Editor\\2021.3.3f1\\Editor\\Data\\il2cpp\\libil2cpp\\icalls\\mscorlib\\System\\Delegate.cpp:37] il2cpp::icalls::mscorlib::System::Delegate::CreateDelegate_internal
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2022.1.8f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-817
Resolution Note (fix version 2021.3.7f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-817