Skip to content

Error on loading with Toybox, using Harmony 2.3.6 #366

Description

@Khaelgor

Hello, not sure if it's the right label but the game stops loading when using Harmony 2.3.6, and ToyBox.

It loads fine on its own, but I get this error when I try to load them both :

NullReferenceException: Object reference not set to an instance of an object
at Kingmaker.Localization.LocalizationManager.OnLocaleChanged () <0x770c4870 + 0x00000> in <90a9869c27924c7bbfb75a8b33da7c82>:0
at Kingmaker.Localization.LocalizationManager.set_CurrentLocale (Kingmaker.Localization.Shared.Locale value) [0x0007b] in <90a9869c27924c7bbfb75a8b33da7c82>:0 at Kingmaker.Localization.LocalizationManager.WaitForInit () [0x00091] in <90a9869c27924c7bbfb75a8b33da7c82>:0
at Kingmaker.GameStarter+d__28.MoveNext () [0x00529] in <90a9869c27924c7bbfb75a8b33da7c82>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <4fae2288737c4dfda349689bbefabfcc>:0

When the mod loads without Toybox, this line appears instead :

[CodexLib] OnLocaleChanged to enGB

This is for both assembly and doorstep UMM. ( You can copy 0Harmony.dll in Pathfinder Second Adventure/Wrath_Data/Managed/UnityModManager/ to Pathfinder Second Adventure/Wrath_Data/Managed/ to use the same version for both).

Here are my log files :

Player_error.log
Player_fine.log

Harmony 2.0.4 works fine, but other mods are starting to not work (or at least some part of them) without a more up to date Harmony (Micro/WrathPatches, for example).

Edit : forgot a word

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions