Skip to content

"Failed to generate Il2Cpp interop assemblies" after game update #492

@gsdaemon

Description

@gsdaemon

What happened?

Hello @ghorsington and @Kasuromi

As also reported on Discord, this is a follow-up issue apparently related to 479 which, after the fix, worked fine until the game got the latest update. Now the same issue seems to be back:

[Error  :InteropManager] Failed to generate Il2Cpp interop assemblies: System.AggregateException: One or more errors occurred. (Arithmetic operation resulted in an overflow.)
 ---> System.OverflowException: Arithmetic operation resulted in an overflow.
   at Il2CppInterop.Common.XrefScans.XrefScanner.XrefScanImpl(Decoder decoder, Boolean skipClassCheck)+MoveNext()

Thanks a lot for your time!

BepInEx Distribution

Bleeding Edge from BepisBuilds

Log outputs

ErrorLog.log:
=============
Unhandled exception. System.IO.FileNotFoundException: Could not load file or assembly 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
   at BepInEx.Unity.IL2CPP.IL2CPPChainloader.OnInvokeMethod(IntPtr method, IntPtr obj, IntPtr parameters, IntPtr exc)
=============

Environment

- OS: Win10
- BepInEx: 6.0.0-be.656

Metadata

Metadata

Assignees

No one assigned

    Labels

    errorError message or log that may need investigationneeds-replicationIssue needs to be replicated by BepInEx dev

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions