Jump to content

Pliers & Blueprints (fixed) mods no longer working


Upload
  • Branch: Preview Branch Version: Windows Fixed

After updating to the latest preview build the game failes to start, giving a error on the pliers fixed & Blueprints mods.

I do belief that Eric Klei did make a change to a update in November or so these mod didn't need to be update..

Pliers fixed mod error:

[PLib/Pliers] System.Exception Parameter "key_def" not found in method System.Void KInputController::QueueButtonEvent(Action action, System.Boolean is_down)   at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List`1[T] tmpBoxVars) [0x00756] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher+<>c__DisplayClass31_0.<AddPrefixes>b__0 (System.Reflection.MethodInfo fix) [0x0008d] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00166] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at PeterHan.PLib.Core.ExtensionMethods.Patch (HarmonyLib.Harmony instance, System.Type type, System.String methodName, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix) [0x00043] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 
  at PeterHan.PLib.Actions.PActionManager.Initialize (HarmonyLib.Harmony plibInstance) [0x000c6] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 
  at PeterHan.PLib.Core.PRemoteComponent.DoInitialize (HarmonyLib.Harmony plibInstance) [0x00001] in <4c6f71d2a8e14a8bbe6853fb43db9bcc>:0 
  at PeterHan.PLib.Core.PRegistryComponent.Instantiate () [0x000b4] in <4c6f71d2a8e14a8bbe6853fb43db9bcc>:0 

UnityEngine.Debug:LogErrorFormat (string,object[])
Debug:LogErrorFormat (string,object[]) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:162)
PeterHan.PLib.Core.PUtil:LogException (System.Exception)
PeterHan.PLib.Core.PRegistryComponent:Instantiate ()
PeterHan.PLib.Core.PRegistryComponent:ApplyLatest ()
(wrapper dynamic-method) KMod.Mod:KMod.Mod.PostLoad_Patch1 (KMod.Mod,System.Collections.Generic.IReadOnlyList`1<KMod.Mod>)
KMod.Manager:Load (KMod.Content) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/Mods/Mods.cs:1540)
Global:Awake () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Global.cs:406)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Transform)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.GameObject,string,bool,int) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/Util.cs:226)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.GameObject,string) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/Util.cs:198)
LaunchInitializer:Update () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/LaunchInitializer.cs:73)

Build: U41-496173-S

Blueprints Fixed error:

[PLib/Blueprints] System.Exception Parameter "key_def" not found in method System.Void KInputController::QueueButtonEvent(Action action, System.Boolean is_down)   at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List`1[T] tmpBoxVars) [0x00756] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher+<>c__DisplayClass31_0.<AddPrefixes>b__0 (System.Reflection.MethodInfo fix) [0x0008d] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher.AddPrefixes (System.Collections.Generic.Dictionary`2[TKey,TValue] variables, System.Reflection.Emit.LocalBuilder runOriginalVariable) [0x0001b] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary`2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x00166] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.PatchProcessor.Patch () [0x000fc] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.Harmony.Patch (System.Reflection.MethodBase original, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix, HarmonyLib.HarmonyMethod transpiler, HarmonyLib.HarmonyMethod finalizer) [0x00028] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at PeterHan.PLib.Core.ExtensionMethods.Patch (HarmonyLib.Harmony instance, System.Type type, System.String methodName, HarmonyLib.HarmonyMethod prefix, HarmonyLib.HarmonyMethod postfix) [0x00043] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 
  at PeterHan.PLib.Actions.PActionManager.Initialize (HarmonyLib.Harmony plibInstance) [0x000c6] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 
  at PeterHan.PLib.Core.PForwardedComponent.DoInitialize (HarmonyLib.Harmony plibInstance) [0x00001] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 
  at PeterHan.PLib.Core.PRegistryComponent.Instantiate () [0x000b4] in <9eb2be28ebd241b8a25db09a37d9ef54>:0 

UnityEngine.Debug:LogErrorFormat (string,object[])
Debug:LogErrorFormat (string,object[]) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Debug.cs:162)
PeterHan.PLib.Core.PUtil:LogException (System.Exception)
PeterHan.PLib.Core.PRegistryComponent:Instantiate ()
PeterHan.PLib.Core.PRegistryComponent:ApplyLatest ()
(wrapper dynamic-method) KMod.Mod:KMod.Mod.PostLoad_Patch1 (KMod.Mod,System.Collections.Generic.IReadOnlyList`1<KMod.Mod>)
KMod.Manager:Load (KMod.Content) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/Mods/Mods.cs:1540)
Global:Awake () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/Global.cs:406)
UnityEngine.Object:Instantiate<UnityEngine.GameObject> (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Transform)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.GameObject,string,bool,int) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/Util.cs:226)
Util:KInstantiate (UnityEngine.GameObject,UnityEngine.GameObject,string) (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/Plugins/Klei/util/Util.cs:198)
LaunchInitializer:Update () (at C:/jenkins_workspace/workspace/Preview_Simgame_Windows/game/Assets/scripts/game/LaunchInitializer.cs:73)

Build: U41-496173-S


Steps to Reproduce

Launch game with pliers or blueprints fixed mod installed.




User Feedback


A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.

Pliers 2021 mod also fails to load with the same error, it seems that all mods that assign keys are broken?

Share this comment


Link to comment
Share on other sites

Seems to be fixed with update 496423 - Undo some changes in the input system causing issues for existing mods.

Share this comment


Link to comment
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...