Closed drok closed 3 years ago
Adding more detail:
[quote=rkumob;4830646290527469054]FYI, I have https://steamcommunity.com/sharedfiles/filedetails/?id=2037888659 mod installed, so usually I just quit the game instantly. I've tried to exit to menu and got the game hang for half an hour (killed the process eventually). And I see a bunch of messages at the end of output.log like these:
[code]
PostProcessFX:Destroyed the old ConfigUI game object.
[SS] OnLevelUnloading
[SS] Saving speed: 0.65
Saving C:\Users\rkumo\AppData\Local\Colossal Order\Cities_Skylines\gameSettings.cgs [Settings - Internal]
NetworkDetective | [Debug] 3,849,215ms | NetworkDetectiveTool.Remove()
InvalidCastException: Cannot cast from source type to destination type.
at Harmony.PatchInfoSerialization.Deserialize (byte[]) <0x000fc>
at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase) <0x0006b>
at (wrapper dynamic-method) Harmony.PatchProcessor.Harmony.PatchProcessor.Unpatch_Patch0 (Harmony.PatchProcessor,Harmony.HarmonyPatchType,string) <0x000b2>
at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase,Harmony.HarmonyPatchType,string) <0x000c7>
at TrafficManager.LoadingExtension.RevertDetours () <0x0024f>
at TrafficManager.LoadingExtension.OnLevelUnloading () <0x0045f>
at LoadingWrapper.OnLevelUnloading () <0x00084>
Rethrow as ModException: The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\1637663252 [CSUtil.CameraControl.dll, CSUtil.Commons.dll, TMPE.GenericGameBridge.dll, TMPE.API.dll, TMPE.CitiesGameBridge.dll, TrafficManager.dll] has caused an error
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
LoadingWrapper:OnLevelUnloading()
LoadingManager:UnloadLevel()
PauseMenu:<Quit>m__2(UIComponent, Int32)
ColossalFramework.UI.UIView:PopModal(Int32)
ColossalFramework.UI.UIDynamicPanels:Hide(String, Int32)
ExitConfirmPanel:OnReturnMainMenu()
System.Object:DynamicEventWrapper_OnReturnMainMenu(ExitConfirmPanel, UIComponent, UIMouseEventParameter)
ColossalFramework.UI.UIComponent:OnClick(UIMouseEventParameter)
ColossalFramework.UI.UIButton:OnClick(UIMouseEventParameter)
ColossalFramework.UI.MouseHandler:ProcessInput(IInputTranslator, Ray, UIComponent, Boolean)
ColossalFramework.UI.UIInput:ProcessMouseInput()
ColossalFramework.UI.UIInput:FpsBoosterUpdate()
BehaviourUpdater.UiInputUpdater:UpdateInput()
BehaviourUpdater.Updater:Update()
(Filename: Line: -1)
[PrecisionEngineering] OnLevelUnloading
[PrecisionEngineering] Manager Unload
PedBridgeTool.Remove()
Failed reverting a Harmony method patch Snooper.WorldInfoPanelPatches+WorldInfoPanel_UpdateBindings with ID 'com.cities_skylines.dymanoid.snooper'. Error message: System.InvalidCastException: Cannot cast from source type to destination type.
at Harmony.PatchInfoSerialization.Deserialize (byte[]) <0x000fc>
at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase) <0x0006b>
at (wrapper dynamic-method) Harmony.PatchProcessor.Harmony.PatchProcessor.Unpatch_Patch0 (Harmony.PatchProcessor,Harmony.HarmonyPatchType,string) <0x000b2>
at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase,Harmony.HarmonyPatchType,string) <0x000c7>
at SkyTools.Patching.MethodPatcher/Patcher.RevertPatch (System.Reflection.MethodInfo) <0x00042>
at SkyTools.Patching.PatchBase.RevertPatch (SkyTools.Patching.IPatcher) <0x00063>
at SkyTools.Patching.MethodPatcher.Revert () <0x00093>
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Failed reverting a Harmony method patch Snooper.HumanAIPatches+HumanAI_StartMoving1 with ID 'com.cities_skylines.dymanoid.snooper'. Error message: System.InvalidCastException: Cannot cast from source type to destination type.
at Harmony.PatchInfoSerialization.Deserialize (byte[]) <0x000fc>
at Harmony.HarmonySharedState.GetPatchInfo (System.Reflection.MethodBase) <0x0006b>
at (wrapper dynamic-method) Harmony.PatchProcessor.Harmony.PatchProcessor.Unpatch_Patch0 (Harmony.PatchProcessor,Harmony.HarmonyPatchType,string) <0x000b2>
at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase,Harmony.HarmonyPatchType,string) <0x000c7>
at SkyTools.Patching.MethodPatcher/Patcher.RevertPatch (System.Reflection.MethodInfo) <0x00042>
at SkyTools.Patching.PatchBase.RevertPatch (SkyTools.Patching.IPatcher) <0x00063>
at SkyTools.Patching.MethodPatcher.Revert () <0x00093>
[/code] [/quote]
Interim report showing mods involved and load order (alt) provided by rkumob:
2327536070 ZoomToCursor 561699875 466158459 BuildingThemes 557636025 530871278 DaylightClassic 608517757 SubBuildingsTabBar 1410003347 AdditiveShader 2055465280 HealkitMod 2053500739 AdvancedOutsideConnection 2037888659 InstantReturnToDesktop 1899640536 ThemeMixer 1665106193 SkipIntro 1612287735 PurchaseIt 1591417160 HideIt 1209581656 LightingRebalance 934994075 ServiceVehicleSelector2 2175810604 Alaskan 2172488844 Picker 2170999920 HDRIH3Cubemap 2126881996 ShadowDistanceFix 2074258904 DemographicsMod 2071210858 QuayUpgradeTool 2051693155 BuildingVehicleManager 2034713132 AutoRepair 1925527132 AdvancedRoadTools 1890830956 UndoMod 1844442251 FineRoadTool 1844440354 FineRoadAnarchy 1771841274 HDRIH2Cubemap 1658679290 ForestBrush 1625704117 RoundaboutBuilder 1591584836 HDRIH1Cubemap 1394468624 ImprovedStopSelection 1388613752 TreeMovementControl 1183931915 SkyboxReplacer 928128676 ImprovedPublicTransport2 898480258 CameraPositions 881291183 PloppableAsphalt 845665815 CSLMod.CSLMapView.Modding 818641631 AmbientSoundsTuner2 814498849 ImprovedContentManager 812107110 LessSteam 810858473 TrafficReport 793176674 SharpTextures 791221322 PropPrecision 787611845 PropSnapping 785528371 CinematicCameraExtended 767233815 DecalFix 762520291 ShadowStrengthAdjuster 694512541 PropLineTool 689937287 SurfacePainter 672248733 UltimateEyecandy 667342976 LoadingScreenMod 650436109 QuayAnarchy 618536610 ASTKrasBaseSoundPack 593588108 PropAnarchy 591137516 RedcometMunicipalSoundPac 523824395 FogOptions 515489008 ElevatedTrainStationTrack 502750307 NaturalResourcesBrush 412146081 PostProcessFX 406354745 SpeedSlider 1548831935 AdvancedVehicleOptionsUID 1415090282 AutoLineColor 625608461 AdaptivePropVisibilityDis 531738447 CSLShowMoreLimits 2048266761 BuildingUsage 2027161563 LifecycleRebalance 2275749683 TrolleybusTrailerMod 2133705267 ABLC 2187834843 FindIt 2019097300 HideUnconnectedTracks.Lif 2380878816 TrainDisplay 650805785 FPSCamera 2383512572 BirdFlocksPOModule 2376128727 RotateAroundModule 2367577600 BackAndForthModule 2367576372 SelfRotationModule 1094334744 ProceduralObjects 2101551127 Repaint 2139035212 GarbageBinManager 2152013104 NetworkDetective 2389228470 TransferBroker 1637663252 TrafficManager 2085403475 NodeController.LifeCycle 445589127 PrecisionEngineering 1758376843 NetworkSkins 1934023593 HideCrosswalks 2030755273 PedestrianBridge 2405917899 RON 2389414419 ZoningAdjuster 781767563 IINS.ExtendedInfo 465318661 ToggleableWhiteness 1435741602 Snooper 426460372 FavoriteCims 1556715327 ShowIt 1627986403 BulldozeIt 1656549865 RebuildIt 1741725093 NoteIt 1768810491 MeasureIt 2346565561 SmarterFirefighters 2349240408 AutoLineBudget 2404099470 GravityModule 1886877404 CustomEffectLoader 1747800340 2367735356 UOCRevisited 1764208250 MoreVehicles 1721492498 CargoHoldFix 1645781000 ResolveOverlaps 2197863850 BOB 2325122732 SupplyChainColoring 412149127 FontSelector 498386331 BuildAnywhere 2104976832 DirectConnectRoads.LifeCy 2243670411 RealPop2 2131808622 PloppableRICO 2255219025 UnifiedUI.LifeCycle 2101977903 TransportVehicleReturnPat 1619685021 MoveIt 1274199764 NetworkTiling 2159934925 NodeMarkup 2399343344 HarmonyMod
Fixed in 8f1c006 Verified by OR