Search Issue Tracker
Fixed in 1.4.0-preview.5
Votes
0
Found in [Package]
1.4.0-preview.4
Issue ID
1272311
Regression
No
Editor crashes on mono_delegate_handle_to_ftnptr when Burst compiling a delegate
Reproduction steps:
1. Open the attached "case_1272311.zip" project
2. Load "SampleScene"
3. Enter Play mode
-- Observe the crash
Reproducible with: 1.4.0-preview.4 (2018.4.26f1, 2019.4.9f1, 2020.1.4f1, 2020.2.0a21)
First lines of the stack trace:
0x00007FFBE2A8F4D9 (mono-2.0-bdwgc) [c:\build\output\unity-technologies\mono\mono\metadata\marshal.c:478] mono_delegate_handle_to_ftnptr
0x000000003D911C88 (Mono JIT Code) (wrapper managed-to-native) System.Runtime.InteropServices.Marshal:GetFunctionPointerForDelegateInternal (System.Delegate)
0x000000003D93FB93 (Mono JIT Code) System.Runtime.InteropServices.Marshal:GetFunctionPointerForDelegate (System.Delegate)
0x000000003D93F3C3 (Mono JIT Code) [D:\Downloads\case_1272311\Library\PackageCache\com.unity.burst@1.4.0-preview.4\Runtime\BurstCompiler.cs:157] Unity.Burst.BurstCompiler:Compile<T_REF> (T_REF,bool)
0x000000003D93EA4B (Mono JIT Code) [D:\Downloads\case_1272311\Library\PackageCache\com.unity.burst@1.4.0-preview.4\Runtime\BurstCompiler.cs:107] Unity.Burst.BurstCompiler:CompileFunctionPointer<T_REF> (T_REF)
<...>
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- TableEntryAdded event is not triggered when a new entry is added in the Localization Tables window
- The macOS Player is built to a different folder than the selected one when the Player is built on Windows
- Editor memory leak in VisualElement when recompiling in a blank URP project
- Project Auditor suggests to update package to a lower version than installed when the recommended package version is not the latest version
- Low performance when multiple meshes using BlendShape are rendered on screen
Add comment