Just a Friendly headsUp

Hawk · 11 hours ago

There appears to be a conflict with Designer Toolkit V-0.13.1 and the Dashcam mod. Prior to updating both mods worked fine together. After updating Designer Toolkit, the game wouldn't load with this error:

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

---> MissingMethodException: Method not found: !!0 HarmonyLib.AccessTools.MethodDelegate<!0>(System.Reflection.MethodInfo,object,bool,System.Type[])
---> TypeInitializationException: The type initializer for 'CoIDesignerToolkit.TransportTierMatching' threw an exception.
at CoIDesignerToolkit.DesignerToolkitMod.RegisterPrototypes (Mafi.Core.Mods.ProtoRegistrator registrator) [0x0009a]
at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Core.Mods.ProtoRegistrator protoRegistrator, System.Boolean throwOnError) [0x00099]
at Mafi.Core.Game.GameBuilder.RegisterModsPrototypes (Mafi.Collections.ImmutableCollections.ImmutableArray1[T] mods, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] modsData, Mafi.Collections.ImmutableCollections.ImmutableArray1[T] configs, Mafi.Core.Prototypes.ProtosDb protosDb, Mafi.Core.Entities.Static.Layout.IEntityLayoutParser entityLayoutParser, System.Boolean throwOnError, System.Action2[T1,T2] protosDbRegFnBeforeMods, System.Action2[T1,T2] protosDbRegFnAfterMods, System.Collections.Generic.IEnumerable1[T] ignoredDataClassTypes) [0x0005a]
at Mafi.Core.Game.GameBuilder+<BuildLoadedGameTimeSliced>d__1.MoveNext () [0x003be]
at Mafi.Unity.GamePlayScene+<loadGame>d__42.MoveNext () [0x00304]
at Mafi.Unity.GamePlayScene+<Initialize>d__39.MoveNext () [0x000ad]
at Mafi.Unity.Main+<unloadAndStartNewScene>d__126.MoveNext () [0x00146]
at Mafi.Unity.Main.stepSceneInitialization () [0x00122]

Game version: 0.8.8d (b633, s345)
Save made with: 0.8.8d (b633, s345)
Save made with mods: (COI-TrainsDlc 1.0.0), (COI-SupporterDlc 1.1.0), (Bagger288Mod 0.9.6), (Buttons 1.2.2), (Carbon.QuickBuildUnlocked 1.0.3), (Dashcam 1.1.1), (FlipSettlementModules 0.1.1), (ModConfigPP 0.1.1), (MultiLangLib 0.1.0), (OceanAccessTolerance 1.2.1), (PauseOnStart 0.1.3), (ProductHighlight 5.4.2), (ShipAutoExplore 0.1.5), (Tower-UI 1.0.7b), (TruckParking 1.3.4), (Vehicle-Ramp-Revival 1.0.3b), (WorldMapStatus 1.0.0), (hydromod 1.0.0), (keybind-framework 2.0.9), (logistics-expansion 1.7.8), (move-buildings 0.2.1), (procedural-research-tree 1.1.0), (research-queue-plus 1.0.5), (settlement-anarchy 1.1.1b), (tweaks-plus-plus 1.4.5), (utilities-plus-plus 1.3.3), (worldgen-plus-plus 1.2.8)
Loaded mods: (Trains expansion 1.0.0), (Supporter edition 1.1.0), (Bagger 288 0.9.6), (Calendar Buttons 1.2.2), (Quick Build Unlocked 1.0.3), (Dashcam 1.1.1), (Kayser's Blueprint Designer's Toolkit 0.13.1), (Flip Settlement Modules 0.1.1), (ModConfig++ 0.1.1), (MultiLangLib 0.1.0), (Ocean Access Tolerance 1.2.1), (Pause On Start 0.1.3), (ProductHighlight 5.4.2), (ShipAutoExplore 0.1.5), (Tower UI 1.0.7b), (Truck Parking 1.3.4), (Vehicle Ramp Revival 1.0.3b), (World Map Status 1.0.0), (水利发电 Hydro Power 1.0.0), (Keybind Framework 2.0.9), (Logistics Expanded 1.7.8), (Move Buildings 0.2.1), (Procedural Research Tree 1.1.0), (Research Queue+ 1.0.5), (Settlement Anarchy 1.1.1b), (Tweaks++ 1.4.5), (Utilities++ 1.3.3), (WorldGen++ 1.2.8)
Failed mods: (Kayser's Blueprint Designer's Toolkit 0.13.1)

After a bit of trial end error, removing the Dashcam mod seems to have resolved the issue.

I'll post over at the Dashcam forum as well and let Scanner know.

Edited 11 hours ago
Scanner · 3 hours ago

Hawk wrote:

There appears to be a conflict with Designer Toolkit V-0.13.1 and the Dashcam mod. Prior to updating both mods worked fine together. After updating Designer Toolkit, the game wouldn't load with this error:

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

---> MissingMethodException: Method not found: !!0 HarmonyLib.AccessTools.MethodDelegate<!0>(System.Reflection.MethodInfo,object,bool,System.Type[])

...


Save made with mods: ... (Dashcam 1.1.1), ...
Loaded mods: ... (Dashcam 1.1.1), ...
Failed mods: (Kayser's Blueprint Designer's Toolkit 0.13.1)

After a bit of trial end error, removing the Dashcam mod seems to have resolved the issue.

I'll post over at the Dashcam forum as well and let Scanner know.

Sorry about that, totally my fault!

Dashcam was shipping an old version of Harmony, the patching library many mods use. The game loads only one copy of Harmony for all mods: the first one it finds. Dashcam loads early, so every mod got Dashcam's old copy. Designer Toolkit 0.13.1 uses a newer Harmony feature that the old copy doesn't have, so the game stopped with that error.

Dashcam 1.2.0 is on the Hub now and fixes this for good. Update Dashcam and both mods run together again.

Thanks to Hawk for tracking it down, and sorry to Kayser for the trouble!

14 Showing 1–3 of 3