11place
2 votes Vote

Native Noise crashes IL2CPP build

Unity 2019.4.1, MM 2.0.5, Win10 x64
When trying to use MM2 in IL2CPP build, it seems the Noise native code crashes the game.
Here's some stack traces from the crash log:
0x00007FFCFAAC2E17 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:37097] Noise200_Generate_m6F856E64595939680B7CFA832ED692466BBC226F
0x00007FFCFAABCFB7 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:20590] Graph_GenerateRecursive_m585486529EE2D11E344BCE6D129C8767ACB04118
0x00007FFCFAABCC41 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:20218] Graph_GenerateRecursive_m585486529EE2D11E344BCE6D129C8767ACB04118
0x00007FFCFAABCD14 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:20272] Graph_GenerateRecursive_m585486529EE2D11E344BCE6D129C8767ACB04118
0x00007FFCFAABCD14 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:20272] Graph_GenerateRecursive_m585486529EE2D11E344BCE6D129C8767ACB04118
0x00007FFCFAABCC41 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:20218] Graph_GenerateRecursive_m585486529EE2D11E344BCE6D129C8767ACB04118
0x00007FFCFAABD352 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic1.cpp:19915] Graph_Generate_m7F1F099AFA26062AE5DFDE5514C56D81566903D1
0x00007FFCFAD78A7D (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic3.cpp:31550] TerrainTile_Generate_mCD4DA21082432003F9555DD1A20708D41560BB87
0x00007FFCFAD7D85B (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\MapMagic3.cpp:33655] U3CU3Ec__DisplayClass37_1_U3CStopEnqueueTaskU3Eb__0_mD5D5E87F1C40220DA0F159C3610003020F9D4BA2
0x00007FFCFAAD1F5A (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\mscorlib13.cpp:15015] CrossContextDelegate_Invoke_m9A38F899BCE87242833F388DE35E325C91B51EAC
0x00007FFCFB172571 (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\Tools4.cpp:27252] ThreadManager_TaskThreadAction_m055807235F2533E5678C8118B2136DA52091209F
0x00007FFCFAF09BAE (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\mscorlib19.cpp:32737] ExecutionContext_Run_m97152E1791C019905F6297946D7411CA6683CCEB
0x00007FFCF9FCE96C (GameAssembly) [C:\Dev\games\forawhile\Temp\StagingArea\Data\il2cppOutput\Il2CppInvokerTable.cpp:92924] RuntimeInvoker_TrueVoid_t22962CB4C

Refeas, 20.06.2020, 16:46
Idea status: under consideration

Comments

Refeas, Yesterday, 19:39
You can mark this one completed as well, since you added the #if for IL2CPP build, everything started working fine in builds.

Leave a comment