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
- Editor crash on "PPtr<Shader>::operator Shader*() const" when checking in changes with a very long comment in Unity Version Control window
- [Ubuntu] Toolbar and menu items for Version Control lack spaces in text on Linux
- Unity Version Control window Pending Changes tab’s Item checkbox is unresponsive when clicked and the item list is empty
- Audio stuttering occurs when heavy processing is performed while OnAudioFilterRead is in use
- Inconsistent Node search results in VFX Graph
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-817