Cities: Skylines

Cities: Skylines

Improved Public Transport 2
timmie_1606 2020 年 3 月 29 日 上午 7:52
[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
最后由 timmie_1606 编辑于; 2020 年 4 月 10 日 上午 5:50
< >
正在显示第 1 - 13 条,共 13 条留言
WVU Benjisaur 2020 年 3 月 29 日 下午 12:23 
I am experiencing this error as well, I have unsubscribed, check the integrity of installed files, resubscribed numerous times with no luck.
icediva 2020 年 3 月 30 日 下午 4:47 
Having the same issue. error on exit.
nhatanh0475 2020 年 3 月 31 日 上午 2:44 
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 2020 年 3 月 31 日 上午 4:13 
Improved Pub. & Service Selector II gives an error quitting the game. Using AVO as well.
BloodyPenguin  [开发者] 2020 年 3 月 31 日 下午 4:39 
Issue confirmed. Will check what's going on there
BloodyPenguin  [开发者] 2020 年 3 月 31 日 下午 5:12 
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 2020 年 4 月 1 日 上午 4:37 
Also am having this issue :(
aiden 2020 年 4 月 1 日 上午 4:40 
same issue
timmie_1606 2020 年 4 月 1 日 上午 7:59 
引用自 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

引用自 BloodyPenguin
Issue confirmed. Will check what's going on there
Thanks in advance.
Luizzacha 2020 年 4 月 1 日 下午 12:17 
same for me...
BloodyPenguin  [开发者] 2020 年 4 月 1 日 下午 2:35 
Should be fixed now
Vecihi 2020 年 4 月 6 日 上午 11:44 
Fixed for me, thank you.
icediva 2020 年 4 月 28 日 上午 9:25 
fixed thx
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50