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
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment