Search Issue Tracker

Won't Fix

Votes

1

Found in

2018.4

2019.3.0b9

2020.1

Issue ID

1195977

Regression

No

IL2CPP Master build crashes when a job with a pointer variable with NativeDisableUnsafePtrRestriction is executed

IL2CPP

-

How to reproduce:
1. Open the attached project "1195977.zip"
2. Build and run the project

Reproducible with: 2018.4.14f1, 2020.1.0a15

First lines of the stacktrace from Player log:
0x00007FFE61E1F773 (GameAssembly) [C:\Users\tautvydas.kubolis\Desktop\Unity Projects\case_1195977-BurstBugReport(1)\Temp\StagingArea\Data\il2cppOutput\Generics10.cpp:19586] ParallelForJobStruct_1_Execute_m7167E9EA47DC6E272010427FD2DCFFC7FAC9DB47_gshared
0x00007FFE61E1F110 (GameAssembly) [C:\Users\tautvydas.kubolis\Desktop\Unity Projects\case_1195977-BurstBugReport(1)\Temp\StagingArea\Data\il2cppOutput\Generics10.cpp:19404] ExecuteJobFunction_Invoke_mE69268E2589682833D6BE04F047390BE87106914_gshared
0x00007FFE61AD68BE (GameAssembly) [C:\Users\tautvydas.kubolis\Desktop\Unity Projects\case_1195977-BurstBugReport(1)\Temp\StagingArea\Data\il2cppOutput\Il2CppInvokerTable.cpp:30133] RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017_VoidU2A_t3A9D5EB5A83DC9C93DF2C4D6EA67B0F5E885889A_IntPtr_t_IntPtr_t_VoidU2A_t3A9D5EB5A83DC9C93DF2C4D6EA67B0F5E885889A_Int32_t585191389E07734F19F3156FF88FB3EF4800D102
0x00007FFE61A36F74 (GameAssembly) [C:\Program Files\2020.1\2020.1.0a15_b6de77dd8cb6\Editor\Data\il2cpp\libil2cpp\vm\Runtime.cpp:506] il2cpp::vm::Runtime::Invoke
0x00007FFE563DEB60 (UnityPlayer) UnityMain

Notes:
Reproducible only on IL2CPP Master build.
The issue reproduces on both .NET 4.x and .NET 2.0 scripting backends.
The issue is not reproducible on Unity 2017.4 as there is no IL2CPP support.

  1. Response avatar

    Resolution Note:

    This looks like a Microsoft compile bug. We have reported an issue to them.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.