BUG We may have a mod conflict. Not sure.

warrenc · 8 days ago

I can start a new game no problem. But when I save the game and reload, I get this error.

image.png


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_Patch14(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_Patch19(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) [0x00021] 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+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x00650]
at Mafi.Unity.GamePlayScene+<loadGame>d__28.MoveNext () [0x002ca]
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.7.1), (Bagger 288 0.7.3), (战斗船燃料更换 4.0.0), (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.3.0), (Cheat++ 1.4.2), (Cargo Helicopter 0.20.0), (Coastal Immigration Beacon 0.2.15), (Colibri Industries 0.1.0), (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), (Vertical Balancers 0.1.3), (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), (Multi-Priority Balancers 0.2.1), (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.20), (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 1.0.0), (Speed++ 1.1.3), (Factory Lens 0.8.0)
Failed mods: (Cheat++ 1.4.2)

Moriarty
Moriarty · 7 days ago

That's a lot of mods so most likely a conflict with something. If you can test and see and let me know witch mod causes it let me know.

I will take a look at it tomorrow and could you send me your log.

Edited 7 days ago
warrenc · 7 days ago

I will try. testing Will take a while. Might be later than tomorrow.

Moriarty
Moriarty · 7 days ago

warrenc wrote:

I will try. testing Will take a while. Might be later than tomorrow.

Do you by any chanse have discord and are in COI server?

warrenc · 7 days ago

Ok. Seams it is the P1,P2,P3 priority mod. Not your Cheat++ mod. repeat, it is not your mod causing this.

I started a game with the P1,p2,p3 mod loaded but not used. Saved and loaded just fine.

Then Added a small U prioritize from his mod and CRASH on load of game.

image.png

👍 1
Moriarty
Moriarty · 7 days ago

warrenc wrote:

Ok. Seams it is the P1,P2,P3 priority mod. Not your Cheat++ mod. repeat, it is not your mod causing this.

I started a game with the P1,p2,p3 mod loaded but not used. Saved and loaded just fine.

Then Added a small U prioritize from his mod and CRASH on load of game.

image.png

Yeah i got same problem just running that mod when first user reported it 1-2 days ago. It was Denis and he reported it on the mod forum on that mod you should too so he can fix it. 😊

Moriarty
Moriarty · 7 days ago

Moriarty wrote:

That's a lot of mods so most likely a conflict with something. If you can test and see and let me know witch mod causes it let me know.

I will take a look at it tomorrow and could you send me your log.

Second question because your error gives 2 problems and one is coused by gameplay++. When you Removed the Multi priority balancers was you able to load the save then?

warrenc · 6 days ago

Moriarty wrote:

Moriarty wrote:

That's a lot of mods so most likely a conflict with something. If you can test and see and let me know witch mod causes it let me know.

I will take a look at it tomorrow and could you send me your log.

Second question because your error gives 2 problems and one is coused by gameplay++. When you Removed the Multi priority balancers was you able to load the save then?

I did not test that. A game with your Priority Balancer on the map will not load. Crashes. It only crashes when the Priority Balancer is on the map. I can have the Priority Balancer mod loaded just not on the map. So far I have only tested the small U-shape (4 input/output)

Edited 6 days ago
warrenc · 6 days ago

Did a bit of testing, Sandbox mode. Using the Multi-Priority Balancers mod it works just fine.

If I add any of your ++ mods (Cheat, Boost, Gameplay tested) , it crashes on game load

It is definitely a conflict between your ++ mods (Cheat, Boost, Gameplay tested) and his mod.

I posted this on his mod forum. Suggested working with you to resolve this conflict if at all possible. Sure hope it is an easy fix.

image.png

Moriarty
Moriarty · 6 days ago

warrenc wrote:

Did a bit of testing, Sandbox mode. Using the Multi-Priority Balancers mod it works just fine.

If I add any of your ++ mods (Cheat, Boost, Gameplay tested) , it crashes on game load

It is definitely a conflict between your ++ mods (Cheat, Boost, Gameplay tested) and his mod.

*> I posted this on his mod forum. Suggested working with you to resolve this conflict if at all possible. Sure hope it is an easy fix.

image.png

The problem is i get same error wihtout my mods just his mod nothing ellse. Start a new sandbox place his balancers down save and restart game and load and same error.

60
Showing 1–10 of 10