Skip to content

[Bug]: Error Generating Interop Assemblies! System.AggregateException: One or more errors occurred #1145

@Dastano

Description

@Dastano

All of the following criteria must be met

  • All Requirements must be installed.
  • Changed the title so that it doesn't just says "[Bug]: "
  • I have searched the GitHub issues for my bug, even in the closed issues.

All of the following are optional to answer

  • Tried reinstalling the Game.
  • Tried reinstalling MelonLoader.
  • Tried restarting PC.

Describe the issue.

Hey,

when trying to boot up our game with MelonLoader (no matter if nightly or not) we get the current error, shown in the Log, we running two Versions, a IL2CPP Version and a Managed Version.

The ILCPP Version shows the Error from Attached Log.

Unbenannt.txt

The managed Version not even Hooks and throws the following error:

Attached both Entrypoint Files
mono-2.0-bdwgc.zip

MonoPosixHelper.zip
[19:31:09.154] [ERROR] [MelonLoader.Bootstrap] System.Reflection.CustomAttributeFormatException: Could not find a field with name CharSet
at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <6787cb6f3e124068b3b9f45089327c2f>:0
at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <6787cb6f3e124068b3b9f45089327c2f>:0
at System.RuntimeType.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00038] in <6787cb6f3e124068b3b9f45089327c2f>:0
at MelonLoader.NativeLibrary`1[T]..ctor (System.IntPtr ptr) [0x000ee] in D:\a\MelonLoader\MelonLoader\MelonLoader\Utils\NativeLibrary.cs:143
at MelonLoader.InternalUtils.BootstrapInterop.Initialize (System.IntPtr bootstrapHandle) [0x00000] in D:\a\MelonLoader\MelonLoader\MelonLoader\InternalUtils\BootstrapInterop.cs:95

Did you attach your log file?

Yes, I attached my log file to the text box above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions