BUG: Crash starting a new game.

warrenc · 6 days ago

Error log.

Some mods failed to load. Update or remove the affected mods and try again.

Mafi.Core.Game.GameBuilderException: An exception was thrown while initializing mod 'cheat-plus-plus' (CheatPP.CheatPPMod) ---> Mafi.DependencyResolverException: Failed to resolve 'CheatPP.CheatPPManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'CheatPP.CheatPPManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Ui.Hud.HudController'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Ui.UiContext'. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Ui.InspectorsManager'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Adding already existing element key=Mafi.Core.Buildings.Storages.Storage, value=GameplayPP.ParkingInspector.
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Mafi.Collections.Dict2[[Mafi.Core.Ports.Io.IoPortShapeProto, Mafi.Core, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null],[Mafi.Core.Factory.Transports.TransportProto, Mafi.Core, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null]].Add_Patch2(Mafi.Collections.Dict2<Mafi.Core.Ports.Io.IoPortShapeProto, Mafi.Core.Factory.Transports.TransportProto>,Mafi.Core.Ports.Io.IoPortShapeProto,Mafi.Core.Factory.Transports.TransportProto)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Mafi.Unity.Ui.InspectorsManager..ctor_Patch5(Mafi.Unity.Ui.InspectorsManager,Mafi.AllImplementationsOf1<Mafi.Core.Mods.IMod>,Mafi.Unity.Audio.AudioDb,Mafi.Unity.InputControl.CursorPickingManager,Mafi.DependencyResolver,Mafi.Unity.UiStatic.Cursors.CursorManager,Mafi.Unity.IUnityInputMgr) 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.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00284]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x002b2] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5] at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5] at Mafi.DependencyResolver.Resolve (System.Type dependencyType) [0x000da] --- End of inner exception stack trace --- at Mafi.DependencyResolver.Resolve (System.Type dependencyType) [0x0010c] at Mafi.DependencyResolver.Resolve[T] () [0x00000] at CheatPP.CheatPPMod.Initialize (Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00031] at Mafi.Core.Game.GameBuilder.InitializeModsOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00020] --- End of inner exception stack trace --- at Mafi.Core.Game.GameBuilder.InitializeModsOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00088]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__5.MoveNext () [0x00026]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__0.MoveNext () [0x0052b]
at Mafi.Unity.GamePlayScene+<buildNewGame>d__27.MoveNext () [0x00095]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__117.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.7a
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Farms & Greenhouses Anywhere 1.0.2), (Plant Trees on Any Terrain 1.3.0), (Area Snap Tool 0.2.1), (Kayser's Automatic Forestry Designations 0.4.1), (Kayser's Automatic Terrain Designations 0.8.1), (Bagger 288 0.7.3), (战斗船燃料更换 4.0.1), (Union Pacific Big Boy 1.0.5), (Blueprint Products Info 1.1.0), (C.O.I. Skylines - Linked Cities 1.0.4), (Quick Build Unlocked 1.0.3), (Show Terrain Grid 1.0.2), (Cargo Flight Mod 0.4.0), (Cheat++ 1.4.3), (Cargo Helicopter 0.20.0), (Coastal Immigration Beacon 0.2.16), (Colibri Industries 0.2.1), (Custom Assets Loader 0.4.2), (Air filtering tweaks [CAL] 0.0.2), (Coal Liquefaction [CAL] 0.0.3), (粉碎机加强 2.0.0), (高级物流MOD Advanced Logistics MOD 2.1.1), (Kayser's Blueprint Designer's Toolkit 0.11.3), (Elevation++ 0.9.11), (Extended Cargo Ships 3.0.0), (多口物流增强 Mod 1.0.2), (小分拣MOD 5.0.1), (Flip Settlement Modules 0.1.1), (Boost++ 1.3.0), (Gameplay++ 1.3.7), (Recipes++ 1.2.7), (Storage++ 1.3.0), (Tweaks++ 1.3.3), (Utilities++ 1.2.5), (Geology & Reservoir Engineering 1.0.4), (WorldGen++ 1.2.1), (MZ Mining Fleet & Free Logistics 0.12.9), (Fusion Horizon 0.2.2), (燃气发电机 Gas Generator 0.1.0), (Grid Battery 1.0.7), (Jocker-QoL (experimantal for now) 0.0.1), (KptKosmit91's Difficulty Settings 1.1.0), (畜牧农业扩展Animal husbandry and agricultural expansion 7.0.6), (MultiLangLib 0.1.0), (My Airship Mod 我的飞艇mod 0.8.6), (My Power Mod 太阳能混合发电站 0.3.0), (No Pillars Required 1.2.2), (核反应堆修改MOD 1.0.0), (Pause On Start 0.1.3), (Physical Trade Ship 0.2.22), (Underground Pipes 1.3.1), (压缩解压缩MOD 6.0.5), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.1), (ShipAutoExplore 0.1.0), (Smart Flare Mod 1.0.3), (Smart Ship Unload 0.1.1a), (Truck Parking 1.3.3), (Underground Transport 5.3.1), (垃圾转土豆MOD Garbage to potatoes 3.0.0), (Wind turbines 0.1.11a), (世界矿山mod 2.0.0), (Speed++ 1.1.3)
Failed mods: (Cheat++ 1.4.3)

image.png

warrenc · 6 days ago

Ok, Found the incompatability. it is Kayser's Automatic Terrain Designations

He did an update today and since then, it conflicts with your Cheat++ Removed his. Wasn't doing what I thought it should anyway.

Moriarty
Moriarty · 5 days ago

warrenc wrote:

Ok, Found the incompatability. it is Kayser's Automatic Terrain Designations **He did an update today and since then, it conflicts with your Cheat++ Removed his. Wasn't doing what I thought it should anyway.

I have no problem with his newest update with my mods.
I will take a look at the log tomorrow and will update you when i have more info. Thanks for the report.😊

Moriarty
Moriarty · 5 days ago

warrenc wrote:

Error log.

Some mods failed to load. Update or remove the affected mods and try again.

Mafi.Core.Game.GameBuilderException: An exception was thrown while initializing mod 'cheat-plus-plus' (CheatPP.CheatPPMod) ---> Mafi.DependencyResolverException: Failed to resolve 'CheatPP.CheatPPManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'CheatPP.CheatPPManager'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Ui.Hud.HudController'. ---> Mafi.DependencyResolverException: Failed to instantiate 'Mafi.Unity.Ui.UiContext'. ---> Mafi.DependencyResolverException: TargetInvocationException thrown by constructor of 'Mafi.Unity.Ui.InspectorsManager'. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Adding already existing element key=Mafi.Core.Buildings.Storages.Storage, value=GameplayPP.ParkingInspector.
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Mafi.Collections.Dict2[[Mafi.Core.Ports.Io.IoPortShapeProto, Mafi.Core, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null],[Mafi.Core.Factory.Transports.TransportProto, Mafi.Core, Version=0.8.7.0, Culture=neutral, PublicKeyToken=null]].Add_Patch2(Mafi.Collections.Dict2<Mafi.Core.Ports.Io.IoPortShapeProto, Mafi.Core.Factory.Transports.TransportProto>,Mafi.Core.Ports.Io.IoPortShapeProto,Mafi.Core.Factory.Transports.TransportProto)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Mafi.Unity.Ui.InspectorsManager..ctor_Patch5(Mafi.Unity.Ui.InspectorsManager,Mafi.AllImplementationsOf1<Mafi.Core.Mods.IMod>,Mafi.Unity.Audio.AudioDb,Mafi.Unity.InputControl.CursorPickingManager,Mafi.DependencyResolver,Mafi.Unity.UiStatic.Cursors.CursorManager,Mafi.Unity.IUnityInputMgr) 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.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x00284]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x002b2] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5] at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b]
--- End of inner exception stack trace ---
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f] at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5]
at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0023b] --- End of inner exception stack trace --- at Mafi.DependencyResolver.instantiate (System.Type type, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth, System.Object[] args) [0x0025f]
at Mafi.DependencyResolver.resolveDependency (System.Type dependencyType, System.Boolean throwOnError, Mafi.Collections.Set1[T] pendingResolves, System.Int32 recursionDepth) [0x000f5] at Mafi.DependencyResolver.Resolve (System.Type dependencyType) [0x000da] --- End of inner exception stack trace --- at Mafi.DependencyResolver.Resolve (System.Type dependencyType) [0x0010c] at Mafi.DependencyResolver.Resolve[T] () [0x00000] at CheatPP.CheatPPMod.Initialize (Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00031] at Mafi.Core.Game.GameBuilder.InitializeModsOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00020] --- End of inner exception stack trace --- at Mafi.Core.Game.GameBuilder.InitializeModsOrThrow (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray`1[T] mods, Mafi.DependencyResolver resolver, System.Boolean gameWasLoaded) [0x00088]
at Mafi.Core.Game.GameBuilder+<initializeGame>d__5.MoveNext () [0x00026]
at Mafi.Core.Game.GameBuilder+<BuildNewGameTimeSliced>d__0.MoveNext () [0x0052b]
at Mafi.Unity.GamePlayScene+<buildNewGame>d__27.MoveNext () [0x00095]
at Mafi.Unity.GamePlayScene+<Initialize>d__25.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__117.MoveNext () [0x0013b]
at Mafi.Unity.Main.stepSceneInitialization () [0x00104]

Game version: 0.8.7a
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Farms & Greenhouses Anywhere 1.0.2), (Plant Trees on Any Terrain 1.3.0), (Area Snap Tool 0.2.1), (Kayser's Automatic Forestry Designations 0.4.1), (Kayser's Automatic Terrain Designations 0.8.1), (Bagger 288 0.7.3), (战斗船燃料更换 4.0.1), (Union Pacific Big Boy 1.0.5), (Blueprint Products Info 1.1.0), (C.O.I. Skylines - Linked Cities 1.0.4), (Quick Build Unlocked 1.0.3), (Show Terrain Grid 1.0.2), (Cargo Flight Mod 0.4.0), (Cheat++ 1.4.3), (Cargo Helicopter 0.20.0), (Coastal Immigration Beacon 0.2.16), (Colibri Industries 0.2.1), (Custom Assets Loader 0.4.2), (Air filtering tweaks [CAL] 0.0.2), (Coal Liquefaction [CAL] 0.0.3), (粉碎机加强 2.0.0), (高级物流MOD Advanced Logistics MOD 2.1.1), (Kayser's Blueprint Designer's Toolkit 0.11.3), (Elevation++ 0.9.11), (Extended Cargo Ships 3.0.0), (多口物流增强 Mod 1.0.2), (小分拣MOD 5.0.1), (Flip Settlement Modules 0.1.1), (Boost++ 1.3.0), (Gameplay++ 1.3.7), (Recipes++ 1.2.7), (Storage++ 1.3.0), (Tweaks++ 1.3.3), (Utilities++ 1.2.5), (Geology & Reservoir Engineering 1.0.4), (WorldGen++ 1.2.1), (MZ Mining Fleet & Free Logistics 0.12.9), (Fusion Horizon 0.2.2), (燃气发电机 Gas Generator 0.1.0), (Grid Battery 1.0.7), (Jocker-QoL (experimantal for now) 0.0.1), (KptKosmit91's Difficulty Settings 1.1.0), (畜牧农业扩展Animal husbandry and agricultural expansion 7.0.6), (MultiLangLib 0.1.0), (My Airship Mod 我的飞艇mod 0.8.6), (My Power Mod 太阳能混合发电站 0.3.0), (No Pillars Required 1.2.2), (核反应堆修改MOD 1.0.0), (Pause On Start 0.1.3), (Physical Trade Ship 0.2.22), (Underground Pipes 1.3.1), (压缩解压缩MOD 6.0.5), (Research Queue 1.0.1), (Retaining Walls Never Die 1.0.1), (ShipAutoExplore 0.1.0), (Smart Flare Mod 1.0.3), (Smart Ship Unload 0.1.1a), (Truck Parking 1.3.3), (Underground Transport 5.3.1), (垃圾转土豆MOD Garbage to potatoes 3.0.0), (Wind turbines 0.1.11a), (世界矿山mod 2.0.0), (Speed++ 1.1.3)
Failed mods: (Cheat++ 1.4.3)

image.png

Took a look at it and thanks a lot for the report this was coused by gameplay++ and has to do with load order and explains why i did not get same problem. Will release fix tomorrow for it i credited you in changelog! 👍

warrenc · 5 days ago

Thanks. Credit not necessary. I just like both mods. Along with all the dozens of mods I have loaded. If anyone will get a compatibility issue, it is me. I have SO many mods loaded. Remember, I am Mr. Ludicrous Speed. 😂

😂 2
41
Showing 1–5 of 5