Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL! #292

Open
khotaonickvai opened this issue Jun 18, 2024 · 0 comments
Labels
area:libcpp2il bug Something isn't working

Comments

@khotaonickvai
Copy link

i get error:

[Info] [Program] Running on Win32NT
[Info] [Program] Determined game's unity version to be 2021.3.11
[Info] [Library] Initializing Metadata...
[Info] [Library] Using actual IL2CPP Metadata version 29
[Info] [Library] Initialized Metadata in 314ms
[Info] [Library] Searching Binary for Required Data...
[Info] [Library] Got Binary codereg: 0x10A9774C, metareg: 0x10BA15E8 in 97ms.
[Info] [Library] Initializing Binary...
[Fail] [Program]

Cpp2IL.Core.Exceptions.LibCpp2ILInitializationException: Fatal Exception initializing LibCpp2IL!
---> System.OverflowException: Provided address, 0xC, was less than image base, 0x10000000
at LibCpp2IL.PE.PE.MapVirtualAddressToRaw(UInt64 uiAddr)
at LibCpp2IL.Il2CppBinary.Init(UInt64 pCodeRegistration, UInt64 pMetadataRegistration)
at LibCpp2IL.LibCpp2IlMain.Initialize(Byte[] binaryBytes, Byte[] metadataBytes, Int32[] unityVersion)
at LibCpp2IL.LibCpp2IlMain.LoadFromFile(String pePath, String metadataPath, Int32[] unityVersion)
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses)
--- End of inner exception stack trace ---
at Cpp2IL.Core.Cpp2IlApi.InitializeLibCpp2Il(String assemblyPath, String metadataPath, Int32[] unityVersion, Boolean allowUserToInputAddresses)
at Cpp2IL.Program.MainWithArgs(Cpp2IlRuntimeArgs runtimeArgs)
at Cpp2IL.Program.Main(String[] args)

Waiting for you to press enter - feel free to copy the error...

@SamboyCoding SamboyCoding added bug Something isn't working area:libcpp2il labels Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:libcpp2il bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants