Perfare / Il2CppDumper

Unity il2cpp reverse engineer
MIT License
6.94k stars 1.37k forks source link

Invalid version error #787

Closed etr-dev closed 5 months ago

etr-dev commented 5 months ago

I am getting the following error on version 29 for some reason maybe should bump the upper bound of the version error?

Initializing metadata...
System.NotSupportedException: ERROR: Metadata file supplied is not a supported version[29].
   at Il2CppDumper.Metadata..ctor(Stream stream) in C:\projects\il2cppdumper\Il2CppDumper\Il2Cpp\Metadata.cs:line 38
   at Il2CppDumper.Program.Init(String il2cppPath, String metadataPath, Metadata& metadata, Il2Cpp& il2Cpp) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 119
   at Il2CppDumper.Program.Main(String[] args) in C:\projects\il2cppdumper\Il2CppDumper\Program.cs:line 94

bump 29 to 30?

if (version < 16 || version > 30)
            {
                throw new NotSupportedException($"ERROR: Metadata file supplied is not a supported version[{version}].");
            }

https://github.com/Perfare/Il2CppDumper/blob/217f1d4737cd9d9d16ab5bef355156bcbc44f9e0/Il2CppDumper/Il2Cpp/Metadata.cs#L55