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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
Add comment