Search Issue Tracker




Found in


Issue ID




[IL2CPP] System out of Memory exception is thrown if ScriptableObject is loaded from inside a DLL




Priority: 2Necessary for shipping a final release


Severity: 1Crash, freeze, data loss, work stops

To reproduce:

1. Download attached project “ReproduceSOLoadCrash" and open in Unity
2. Open "SampleScene" scene
3. Enter to Play mode
4. Observe that within the Console "Logger settings loaded" message is printed
5. Change Platform to Standalone, iOS or Android
6. Change Scripting Backend to IL2CPP
7. Build and Run project

Expected results: Player does not Crash after Splash Screen
Actual results: Player Crashes after Splash Screen and throws "System out of memory" exception

- This issue appears on Windows Standalone, macOS Standalone, iOS, and Android (IL2CPP)
- This issue does not appear on Editor
- This issue does not appear if Scripting Backend is Mono

Reproduced on Unity 2018.3.0b7, 2018.3.5f1, 2019.1.0b3 and 2019.2.0a4
Not reproduced on Unity 2018.2.20f1 and 2018.3.0b6
Regression on Unity 2018.3.0b7

All about bugs

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