How to reproduce:
1. Open the attached project "1428243_DLL Test"
2. Enter Play Mode
Expected result: Play Mode is entered
Actual result: Unity Editor crashes
Reproduced in: 2019.4.38f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0b16, 2022.2.0a15
Stack trace:
0x00007ffa55e7276b (Procedural Generation Library) HelloWorld
0x00007ffa55e71aee (Procedural Generation Library) HelloWorld
0x00007ffa55e72874 (Procedural Generation Library) HelloWorld
0x00007ffa55e74342 (Procedural Generation Library) HelloWorld
0x0000020b849cfa87 (Mono JIT Code) (wrapper managed-to-native) GameManager:HelloWorld ()