Cities: Skylines

Cities: Skylines

Improved Public Transport 2
timmie_1606 29 Mar, 2020 @ 7:52am
[SOLVED] Getting an error when 'exit to main menu'
This error, how can i fix this?
The Mod C:\Program Files (x86)\Steam\steamapps\workshop\content\255710\928128676 [0Harmony.dll, ImprovedPublicTransport2.dll] has caused an error [ModException] Details: System.Exception: Exception from HarmonyInstance "github.com/bloodypenguin/ImprovedPublicTransport" ---> System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2[System.String,System.Reflection.Emit.LocalBuilder].get_Item (System.String key) [0x00000] in <filename unknown>:0 at Harmony.MethodPatcher.EmitCallParameter (System.Reflection.Emit.ILGenerator il, System.Reflection.MethodBase original, System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary`2 variables, Boolean allowFirsParamPassthrough) [0x00000] in <filename unknown>:0 at Harmony.MethodPatcher+<>c__DisplayClass20_0.<AddPostfixes>b__1 (System.Reflection.MethodInfo fix) [0x00000] in <filename unknown>:0 at Harmony.CollectionExtensions.Do[MethodInfo] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in <filename unknown>:0 at Harmony.MethodPatcher.AddPostfixes (System.Reflection.Emit.ILGenerator il, System.Reflection.MethodBase original, System.Collections.Generic.List`1 postfixes, System.Collections.Generic.Dictionary`2 variables, Boolean passthroughPatches) [0x00000] in <filename unknown>:0 at Harmony.MethodPatcher.CreatePatchedMethod (System.Reflection.MethodBase original, System.String harmonyInstanceID, System.Collections.Generic.List`1 prefixes, System.Collections.Generic.List`1 postfixes, System.Collections.Generic.List`1 transpilers) [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at Harmony.MethodPatcher.CreatePatchedMethod (System.Reflection.MethodBase original, System.String harmonyInstanceID, System.Collections.Generic.List`1 prefixes, System.Collections.Generic.List`1 postfixes, System.Collections.Generic.List`1 transpilers) [0x00000] in <filename unknown>:0 at Harmony.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, Harmony.PatchInfo patchInfo, System.String instanceID) [0x00000] in <filename unknown>:0 at Harmony.PatchProcessor.Unpatch (System.Reflection.MethodInfo patch) [0x00000] in <filename unknown>:0 at Harmony.HarmonyInstance.Unpatch (System.Reflection.MethodBase original, System.Reflection.MethodInfo patch) [0x00000] in <filename unknown>:0 at Harmony.HarmonyInstance+<>c__DisplayClass11_1.<UnpatchAll>b__1 (Harmony.Patch patchInfo) [0x00000] in <filename unknown>:0 at Harmony.CollectionExtensions.Do[Patch] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in <filename unknown>:0 at Harmony.CollectionExtensions.DoIf[Patch] (IEnumerable`1 sequence, System.Func`2 condition, System.Action`1 action) [0x00000] in <filename unknown>:0 at Harmony.HarmonyInstance.UnpatchAll (System.String harmonyID) [0x00000] in <filename unknown>:0 at ImprovedPublicTransport2.ImprovedPublicTransportMod.Deinit () [0x00000] in <filename unknown>:0 at ImprovedPublicTransport2.ImprovedPublicTransportMod.OnLevelUnloading () [0x00000] in <filename unknown>:0 at LoadingWrapper.OnLevelUnloading () [0x00000] in <filename unknown>:0
Last edited by timmie_1606; 10 Apr, 2020 @ 5:50am
< >
Showing 1-13 of 13 comments
WVU Benjisaur 29 Mar, 2020 @ 12:23pm 
I am experiencing this error as well, I have unsubscribed, check the integrity of installed files, resubscribed numerous times with no luck.
icediva 30 Mar, 2020 @ 4:47pm 
Having the same issue. error on exit.
nhatanh0475 31 Mar, 2020 @ 2:44am 
Have you using both Improved public transport 1 and 2? Have any mods that incompatible with Ip2? Mods that do the samething usually incompatible.
Vecihi 31 Mar, 2020 @ 4:13am 
Improved Pub. & Service Selector II gives an error quitting the game. Using AVO as well.
BloodyPenguin  [developer] 31 Mar, 2020 @ 4:39pm 
Issue confirmed. Will check what's going on there
BloodyPenguin  [developer] 31 Mar, 2020 @ 5:12pm 
IPT2 and SVS2 are compatible. It just looks like there's the same bug in both of them as I updated them at the same time :D
Jajko01 1 Apr, 2020 @ 4:37am 
Also am having this issue :(
skeer 1 Apr, 2020 @ 4:40am 
same issue
timmie_1606 1 Apr, 2020 @ 7:59am 
Originally posted by nhatanh0475:
Have you using both Improved public transport 1 and 2? Have any mods that incompatible with Ip2? Mods that do the samething usually incompatible.
IPT 2 only and nothing that is incompatable with it

Originally posted by BloodyPenguin:
Issue confirmed. Will check what's going on there
Thanks in advance.
Luizzacha 1 Apr, 2020 @ 12:17pm 
same for me...
BloodyPenguin  [developer] 1 Apr, 2020 @ 2:35pm 
Should be fixed now
Vecihi 6 Apr, 2020 @ 11:44am 
Fixed for me, thank you.
icediva 28 Apr, 2020 @ 9:25am 
fixed thx
< >
Showing 1-13 of 13 comments
Per page: 1530 50