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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Add comment