game fails to initalize after update

Mod issue Modding

A game update can break mods until their authors rebuild them. Mods not working explains how to keep playing meanwhile.

waynemf · 43 minutes ago

Issue description

Cannoit continue from previous game , or open new game

Reproduction steps

The game failed to initialize. If this issue persists, please file a bug report.

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method System.Void Mafi.Unity.Ui.Controllers.TransportBuildController::transportDown() ---> System.ArgumentException: No such field defined in class Mafi.Unity.Ui.Controllers.TransportBuildController, Mafi.Unity, Version=0.8.8.0, Culture=neutral, PublicKeyToken=null
Parameter name: m_downSound
at HarmonyLib.MethodCreatorTools.EmitCallParameter (HarmonyLib.MethodCreator creator, System.Reflection.MethodInfo patch, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpInstanceBoxingVar, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Boolean& refResultUsed, System.Collections.Generic.List1[T] tmpBoxVars) [0x00411] at HarmonyLib.MethodCreator.AddPrefixes () [0x0009c] at HarmonyLib.MethodCreator.CreateReplacement () [0x0033a] at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x0007c] at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs1+Job[T] job) [0x000f8]
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0013c]
at HarmonyLib.PatchClassProcessor.Patch () [0x00096]
at HarmonyLib.Harmony.<PatchAll>b__10_1 (System.Type type) [0x00007]
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014]
at HarmonyLib.CollectionExtensions.DoIf[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Func2[T,TResult] condition, System.Action1[T] action) [0x00007] at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] at PipeTerrainIgnoreMod.PipeTerrainIgnoreMod..ctor (Mafi.Core.Mods.ModManifest manifest) [0x0003e] at (wrapper managed-to-native) System.Reflection.RuntimeConstructorInfo.InternalInvoke(System.Reflection.RuntimeConstructorInfo,object,object[],System.Exception&) at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x00005] --- End of inner exception stack trace --- at System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) [0x0001a] at System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00086] at System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] at Mafi.Core.Game.GameBuilder.<TryInstantiateModsTimeSliced>g__instantiate|9_1 (Mafi.Core.Mods.LoadedModData modData, System.Reflection.ConstructorInfo ctor, Mafi.Core.Game.GameBuilder+<>c__DisplayClass9_0& ) [0x00131] at Mafi.Core.Game.GameBuilder+<TryInstantiateModsTimeSliced>d__9.MoveNext () [0x002a6] at System.Linq.Enumerable+WhereSelectEnumerableIterator2[TSource,TResult].ToArray () [0x0003e]
at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x0001f] at Mafi.Collections.ImmutableCollections.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable1[T] items) [0x00016]
at Mafi.Collections.ImmutableCollections.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable`1[T] items) [0x00000]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00305]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__125.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8
Loaded mods: (Underground Pipes 1.3.3), (ShipAutoExplore 0.1.0)
Failed mods: none

Game version and build number

v0.8.8 (b627)

Which branch of the game are you on?

Stable

Operating system

Windows

5 Showing 1–1 of 1