Issue description
The game failed to initialize. If this problem persists, please send us a detailed report.
System.Reflection.TargetInvocationException: 调用目标抛出了异常。 ---> HarmonyLib.HarmonyException: 在方法 System.Void Mafi.Core.Factory.Transports.TransportsConstructionHelper::FindUnsupportedRegionAround(Mafi.Core.Factory.Transports.TransportTrajectory trajectory, Mafi.Tile3i position, System.Boolean& positionIsUnsupported, System.Int32& unsupportedStartIndex, System.Int32& unsupportedEndIndex, System.Nullable1<Mafi.Tile2i> ignorePillarAt) ---> System.InvalidOperationException: Underground Pipes: unsupported FindUnsupportedRegionAround IL layout. at PipeTerrainIgnoreMod.BuriedPipeRuntimeSupportPatch+<UseTerrainSupportForBuriedPipes>d__0.MoveNext () [0x0012f] at System.Collections.Generic.List1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] at System.Collections.Generic.List1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable1[T] collection) [0x000f4] at System.Collections.Generic.List1[T].AddRange (System.Collections.Generic.IEnumerable1[T] collection) [0x00000] at HarmonyLib.CodeTranspiler.ConvertToGeneralInstructions (System.Reflection.MethodInfo transpiler, System.Collections.IEnumerable enumerable, System.Collections.Generic.Dictionary2[System.Object,System.Collections.Generic.Dictionary2[System.String,System.Object]]& unassignedValues) [0x00081] at HarmonyLib.CodeTranspiler+<>c__DisplayClass11_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x00000] at System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) [0x0001e] at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] at HarmonyLib.MethodBodyReader.FinalizeILCodes (System.Collections.Generic.List1[T] transpilers, System.Boolean stripLastReturn, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode, System.Collections.Generic.List1[T] endLabels) [0x0012b] at HarmonyLib.MethodCopier.Finalize (System.Boolean stripLastReturn, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode, System.Collections.Generic.List1[T] endLabels) [0x00000]
at HarmonyLib.MethodCreator.CreateReplacement () [0x003ff]
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]
--- 内部异常堆栈跟踪结束 ---
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]
在 Mafi.Collections.ImmutableCollections.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable1[T] items) [0x00016] at Mafi.Collections.ImmutableCollections.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable1[T] 个项目) [0x00000]
在 Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00305]
在 Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
在 Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
在 Mafi.Unity.Main+<unloadAndStartNewScene>d__117.MoveNext () [0x0013b]
在 Mafi.Unity.Main.stepSceneInitialization () [0x00104]
Game version: 0.8.7d
Loaded mods: (火车扩展 1.0.0), (支持者版 1.1.0), (电池存储加强模组BatteryStorageProMod 1.0.0), (欢愉之屋 12.0.2), (混凝土挡土墙 0.4.18), (高级物流MOD Advanced Logistics MOD 2.1.2), (新2级车辆MOD 4.0.2), (海水发电站MOD 4.0.2), (FGWY 存储大师 6.0.7), (地质与水库工程 1.4.4), (电网电池 1.0.8), (工业扩展 1.0.5), (畜牧农业扩展Animal husbandry and agricultural expansion 7.9.0), (矿工雕像模组 0.3.0), (MultiLangLib 0.1.0), (机器超频MOD| Overclocking MOD 8.0.7), (地下管道 1.3.3), (挡土墙永不消亡 1.0.1), (智能采矿垃圾堆 1.0.3), (卡车停车 1.3.3), (世界矿山mod 2.0.1), (能源存储 0.3.0), (游戏玩法++ 1.4.2), (水利发电 Hydro Power 1.0.0), (物流扩展 1.2.0), (配方++ 1.3.2), (人类摇篮 · Колыбель человечества 1.6.1), (燃气发电机 Gas Generator 0.2.0), (无限地下水 1.0.3), (核反应堆修改MOD 1.0.0), (海洋接入容差 1.2.1), (优先设计 0.1.2), (田间耕作 1.0.0), (畜牧业 0.2.0), (材料索道 0.1.0), (巨型集装箱码头 0.1.1), (巨型采矿 0.6.0), (巨型牲畜场 0.1.2), (移动建筑 0.2.0), (海上石油钻井平台 0.1.2), (石油泵扩展 0.1.2), (运输扩展 0.4.0)
Failed mods: none
Reproduction steps
The game failed to initialize. If this problem persists, please send us a detailed report.
System.Reflection.TargetInvocationException: 调用目标抛出了异常。 ---> HarmonyLib.HarmonyException: 在方法 System.Void Mafi.Core.Factory.Transports.TransportsConstructionHelper::FindUnsupportedRegionAround(Mafi.Core.Factory.Transports.TransportTrajectory trajectory, Mafi.Tile3i position, System.Boolean& positionIsUnsupported, System.Int32& unsupportedStartIndex, System.Int32& unsupportedEndIndex, System.Nullable1<Mafi.Tile2i> ignorePillarAt) ---> System.InvalidOperationException: Underground Pipes: unsupported FindUnsupportedRegionAround IL layout. at PipeTerrainIgnoreMod.BuriedPipeRuntimeSupportPatch+<UseTerrainSupportForBuriedPipes>d__0.MoveNext () [0x0012f] at System.Collections.Generic.List1[T].AddEnumerable (System.Collections.Generic.IEnumerable1[T] enumerable) [0x00059] at System.Collections.Generic.List1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable1[T] collection) [0x000f4] at System.Collections.Generic.List1[T].AddRange (System.Collections.Generic.IEnumerable1[T] collection) [0x00000] at HarmonyLib.CodeTranspiler.ConvertToGeneralInstructions (System.Reflection.MethodInfo transpiler, System.Collections.IEnumerable enumerable, System.Collections.Generic.Dictionary2[System.Object,System.Collections.Generic.Dictionary2[System.String,System.Object]]& unassignedValues) [0x00081] at HarmonyLib.CodeTranspiler+<>c__DisplayClass11_0.<GetResult>b__0 (System.Reflection.MethodInfo transpiler) [0x00000] at System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) [0x0001e] at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] at HarmonyLib.MethodBodyReader.FinalizeILCodes (System.Collections.Generic.List1[T] transpilers, System.Boolean stripLastReturn, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode, System.Collections.Generic.List1[T] endLabels) [0x0012b] at HarmonyLib.MethodCopier.Finalize (System.Boolean stripLastReturn, System.Boolean& hasReturnCode, System.Boolean& methodEndsInDeadCode, System.Collections.Generic.List1[T] endLabels) [0x00000]
at HarmonyLib.MethodCreator.CreateReplacement () [0x003ff]
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]
--- 内部异常堆栈跟踪结束 ---
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]
在 Mafi.Collections.ImmutableCollections.ImmutableArray.CreateRange[T] (System.Collections.Generic.IEnumerable1[T] items) [0x00016] at Mafi.Collections.ImmutableCollections.ImmutableArray.ToImmutableArray[TSource] (System.Collections.Generic.IEnumerable1[T] 个项目) [0x00000]
在 Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00305]
在 Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
在 Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
在 Mafi.Unity.Main+<unloadAndStartNewScene>d__117.MoveNext () [0x0013b]
在 Mafi.Unity.Main.stepSceneInitialization () [0x00104]
Game version: 0.8.7d
Loaded mods: (火车扩展 1.0.0), (支持者版 1.1.0), (电池存储加强模组BatteryStorageProMod 1.0.0), (欢愉之屋 12.0.2), (混凝土挡土墙 0.4.18), (高级物流MOD Advanced Logistics MOD 2.1.2), (新2级车辆MOD 4.0.2), (海水发电站MOD 4.0.2), (FGWY 存储大师 6.0.7), (地质与水库工程 1.4.4), (电网电池 1.0.8), (工业扩展 1.0.5), (畜牧农业扩展Animal husbandry and agricultural expansion 7.9.0), (矿工雕像模组 0.3.0), (MultiLangLib 0.1.0), (机器超频MOD| Overclocking MOD 8.0.7), (地下管道 1.3.3), (挡土墙永不消亡 1.0.1), (智能采矿垃圾堆 1.0.3), (卡车停车 1.3.3), (世界矿山mod 2.0.1), (能源存储 0.3.0), (游戏玩法++ 1.4.2), (水利发电 Hydro Power 1.0.0), (物流扩展 1.2.0), (配方++ 1.3.2), (人类摇篮 · Колыбель человечества 1.6.1), (燃气发电机 Gas Generator 0.2.0), (无限地下水 1.0.3), (核反应堆修改MOD 1.0.0), (海洋接入容差 1.2.1), (优先设计 0.1.2), (田间耕作 1.0.0), (畜牧业 0.2.0), (材料索道 0.1.0), (巨型集装箱码头 0.1.1), (巨型采矿 0.6.0), (巨型牲畜场 0.1.2), (移动建筑 0.2.0), (海上石油钻井平台 0.1.2), (石油泵扩展 0.1.2), (运输扩展 0.4.0)
Failed mods: none
Game version and build number
V.08.7d
Which branch of the game are you on?
Stable
Operating system
Windows