Copyright © 2026 Unity Technologies
Azra Games is reporting crashes on startup when IL2CPP attempts to read a corrupted IL2CPP symbols file (il2cpp.usym). They don’t have a reproduction but suspect that an interrupted app launch can leave a partly-written symbols file that is never rectified/replaced on subsequent app launches.
This case only addresses the IL2CPP crash. A separate bug report has been opened to address the problem of a truncated symbols file during file copy.
Claude analysis flagged the following issue:
LoadDebugSymbols (libil2cpp/vm-utils/DebugSymbolReader.cpp) checks only the header magic and lineCount != 0. It then calls std::string(GetString(header.id)), header.os and header.arch. GetString has only an IL2CPP_ASSERT on the index, which release builds leave out. If the file is truncated but the header is intact, those offsets point past the mapping and strlen faults.
Suggested Fixes
Other Information
Issues you vote on will appear here