CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
563 stars 85 forks source link

Mod not loading System.IndexOutOfRangeException: Array index is out of range. #1683

Closed alkolodziej closed 1 year ago

alkolodziej commented 1 year ago

Describe the problem

Error: `A Mod caused an error [ModException]

Details: System.IndexOutOfRangeException: Array index is out of range. at OptionsMainPanel.AddUserMods () [0x00000] in :0 `

Steps to reproduce

  1. just launch game

Log files

`ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetExportedTypes () [0x00000] in :0 at ColossalFramework.Plugins.PluginManager+PluginInfo.GetInstances[IUserMod] () [0x00000] in :0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) ColossalFramework.Plugins.PluginInfo:GetInstances() EntryData:GenerateData() EntryData:.ctor(PluginInfo) CategoryContentPanel:RefreshAssetsModImpl() CategoryContentPanel:RefreshAssets() CategoryContentPanel:Refresh() ContentManagerPanel:RefreshCategory(UIComponent) ContentManagerPanel:Initialize() MenuPanel:Start()

(Filename: Line: -1)

ReflectionTypeLoadException: The classes in the module cannot be loaded. at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool) at System.Reflection.Assembly.GetExportedTypes () [0x00000] in :0 at ColossalFramework.Plugins.PluginManager+PluginInfo.GetInstances[IUserMod] () [0x00000] in :0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) ColossalFramework.Plugins.PluginInfo:GetInstances() EntryData:GenerateData() EntryData:.ctor(PluginInfo) CategoryContentPanel:RefreshAssetsModImpl() CategoryContentPanel:RefreshAssets() CategoryContentPanel:Refresh() ContentManagerPanel:RefreshCategory(UIComponent) ContentManagerPanel:Initialize() MenuPanel:Start()

(Filename: Line: -1)

GfxDevice: creating device client; threaded=1 GfxDevice: creating device client; threaded=1 Paradox Account not linked to current Steam user account. [HTTP]

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)`

Savegame?

its in main screen

Screenshots?

Notes or questions?

krzychu124 commented 1 year ago

https://github.com/CitiesSkylinesMods/TMPE/wiki/Share-your-Cities-Skylines-log-file

alkolodziej commented 1 year ago

output_log.txt TMPE.log

krzychu124 commented 1 year ago

image