System.OverflowException: Array dimensions exceeded supported range.

Author: IanRohrbacherCreated Jun 8, 2026Updated Jun 10, 2026

Note: if you do not provide all of the following information I will directly ignore and close this issue

  • Il2CppDumper version net6-win-v6.7.46

  • Target Unity version (optional) Unity 2021.3.18f1

  • Describe the issue

Initializing metadata...                                                                                                                                                       Metadata Version: 29                                                                                                                                                           Initializing il2cpp file...                                                                                                                                                    Il2Cpp Version: 29                                                                                                                                                             Searching...                                                                                                                                                                   CodeRegistration : 0                                                                                                                                                           MetadataRegistration : 0                                                                                                                                                       Use custom PE loader                                                                                                                                                           CodeRegistration : 0                                                                                                                                                           MetadataRegistration : 0                                                                                                                                                       ERROR: Can't use auto mode to process file, try manual mode.                                                                                                                   Input CodeRegistration: 18048e6b0                                                                                                                                              Input MetadataRegistration: 1804d33a0                                                                                                                                          System.OverflowException: Array dimensions exceeded supported range.                                                                                                              at Il2CppDumper.BinaryStream.ReadClassArray[T](Int64 count) in C:\projects\il2cppdumper\Il2CppDumper\IO\BinaryStream.cs:line 187                                               at Il2CppDumper.Il2Cpp.Init(UInt64 codeRegistration, UInt64 metadataRegistration) in C:\projects\il2cppdumper\Il2CppDumper\Il2Cpp\Il2Cpp.cs:line 174                           at Il2CppDumper.Program.Init(String il2cppPath, String metadataPath, Metadata& metadata, Il2Cpp& il2Cpp) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 236       ERROR: An error occurred while processing.     
  • Upload executable file and global-metadata.dat files.zip