peterhaneve / ONIMods

Peter Han's mods for Oxygen Not Included
Other
316 stars 64 forks source link

Fast track: crashes on enter game at new version U47 #359

Closed w-while closed 1 year ago

w-while commented 1 year ago

The message: Exception while loading mod PeterHan.FastTrack at C:/Users/while/Documents/Klei/OxygenNotIncluded/mods/Local/FastTrack. HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=MoveToLocationTool, methodname=Activate, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found. at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0 at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00036] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x00049] in <2f5aaaa000594d07b9998f4cff1e9662>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <990b4cf9a7d84305ad7eaef1059b672b>:0 at PeterHan.FastTrack.FastTrackMod.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in :0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <990b4cf9a7d84305ad7eaef1059b672b>:0

UnityEngine.Debug:LogError (object,UnityEngine.Object) Debug:LogError (object,UnityEngine.Object) DebugUtil:LogErrorArgs (UnityEngine.Object,object[]) DebugUtil:LogException (UnityEngine.Object,string,System.Exception) KMod.DLLLoader:LoadDLLs (KMod.Mod,string,string,bool) KMod.Mod:Load (KMod.Content) KMod.Manager:Load (KMod.Content) Global:Awake () UnityEngine.Object:Instantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.Transform) Util:KInstantiate (UnityEngine.GameObject,UnityEngine.Vector3,UnityEngine.Quaternion,UnityEngine.GameObject,string,bool,int) Util:KInstantiate (UnityEngine.GameObject,UnityEngine.GameObject,string) LaunchInitializer:Update ()

Build: U47-561558-SD

My fast track version is 0.10.14.0

jaybocc2 commented 1 year ago

Compiling dev version of fast track locally (0.11.0.0) appears to work for me so far.

peterhaneve commented 1 year ago

Fast Track 0.11.0 has been released for compatibility with the new game update. In general all Klei updates require substantial changes to Fast Track.