Search Issue Tracker
Fixed
Unknown (hidden) 2021.3.X
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-817