Skip to content

[Error :Il2CppInterop] Nested type ToolbarButtonSize on GUI not found! #200

@michaelwuwar

Description

@michaelwuwar

When I start BepInEx, I get a fixed error:

Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Il2CppInterop.Runtime.Injection.Hooks.GenericMethod_GetMethod_Hook.Hook(Il2CppGenericMethod* gmethod, Boolean copyMethodPtr) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/GenericMethod_GetMethod_Hook.cs:line 22
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at Il2CppInterop.Runtime.Injection.Hooks.GenericMethod_GetMethod_Hook.Hook(Il2CppGenericMethod* gmethod, Boolean copyMethodPtr) in /home/runner/work/Il2CppInterop/Il2CppInterop/Il2CppInterop.Runtime/Injection/Hooks/GenericMethod_GetMethod_Hook.cs:line 

And after I set ListeningLog to false, I can enter the game normally
But as soon as I installed the AutoTranslator plugin, launching the game became impossible. It gave the following error:
[Error :Il2CppInterop] Nested type ToolbarButtonSize on GUI not found!

Here is my log file:

LogOutput.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions