Cities skylines a mod caused an error modexception

Greetings, everyone! Tonight I reinstalled my OS (Win7 x64) with backup of AppDataLocalColossal Order folder. Then I installed Steam, restored backup and tried to play C:S, but some of my mods don't work anymore. Here's the list, but it might...
  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

  • Add bookmark

  • #1

Greetings, everyone! Tonight I reinstalled my OS (Win7 x64) with backup of AppDataLocalColossal Order folder.
Then I installed Steam, restored backup and tried to play C:S, but some of my mods don’t work anymore.

Here’s the list, but it might be bigger, ’cause I have 39 mods:
— No Tree Dirt
— Pause on Load
— Advanced Vehicle Options
— Improved Public Transport
— Extended Public Transport UI
— Building Eyedropper Tool
— Enhanced Zoom
— Road Anarchy
— etc.

Also, Traffic++ have just updated today, maybe that’s because of it?
Since 1.1.1 patch was released, I was using Traffic++ in ghost mode and there wasn’t any issues for me.
But now turning on ghost mode isn’t solving this problem and turning off isn’t either.
Traffic++ itself works perfectly with new update.

I get this error on loading a savegame:

Code:

A Mod caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
  at NoTreeDirt.ModLoader.OnLevelLoaded (LoadMode mode) [0x00000] in <filename unknown>:0
  at LoadingWrapper.OnLevelLoaded (UpdateMode mode) [0x00000] in <filename unknown>:0
ModException: A Mod caused an error

Last edited: Jul 7, 2015

  • Add bookmark

  • #2

Hmm… the problem has solved when I unsubscribed «No Tree Dirt» mod, but why it causes this? It was working without any troubles for a long time until I reinstalled Windows. There’s no any update for it on the workshop, so I can’t understand a reason why this mod isn’t working anymore…

AndrewT


  • Add bookmark

  • #3

You’ll have to take it up with the author of that mod, I’m afraid.

Содержание

  1. Cities skylines mod caused an error
  2. Cities skylines mod caused an error
  3. Cities: Skylines
  4. Cities skylines mod caused an error
  5. Cities: Skylines
  6. Cities skylines mod caused an error
  7. Cities skylines mod caused an error
  8. Cities: Skylines

Cities skylines mod caused an error

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> HarmonyLib.HarmonyException: Patching exception in method null —> System.ArgumentException: Undefined target method for patch method static System.Void FindIt.CreateButtonPatch::Postfix(ColossalFramework.UI.UIButton __result, GeneratedScrollPanel __instance, System.String name, System.String tooltip, System.String baseIconName, System.Int32 index, ColossalFramework.UI.UITextureAtlas atlas, ColossalFramework.UI.UIComponent tooltipBox, System.Boolean enabled)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase

Also when a city actually opens up this error shows :
The Mod /Users/(my name)/Library/Application Support/Steam/steamapps/workshop/content/255710/502750307 [NaturalResourcesBrush.dll] has caused an error [ModException]

Details:
System.MissingMethodException: Method not found: ‘GeneratedScrollPanel.SpawnEntry’.
at (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)
at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionHelper.RedirectCalls (System.Reflection.MethodInfo from, System.Reflection.MethodInfo to) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethod (System.Type targetType, System.Reflection.MethodInfo detour, Boolean reverse) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethod (System.Type targetType, System.Reflection.MethodInfo method, System.Collections.Generic.Dictionary`2 redirects, Boolean reverse) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethods (System.Type type, System.Type targetType, System.Collections.Generic.Dictionary`2 redirects, Boolean onCreated) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectType (System.Type type, Boolean onCreated) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.Extensions.TypeExtension.Redirect (System.Type type) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.Redirector`1[NaturalResourcesBrush.Detours.LandscapingPanelDetour].Deploy () [0x00000] in :0
at NaturalResourcesBrush.LoadingExtension.OnCreated (ILoading loading) [0x00000] in :0
at LoadingWrapper.OnLoadingExtensionsCreated () [0x00000] in :0

But I dont have anything called natrural resource brush

Theres 2 x 2.2.0’s

Also when a city actually opens up this error shows :
The Mod /Users/(my name)/Library/Application Support/Steam/steamapps/workshop/content/255710/502750307 [NaturalResourcesBrush.dll] has caused an error [ModException]

Details:
System.MissingMethodException: Method not found: ‘GeneratedScrollPanel.SpawnEntry’.
at (wrapper managed-to-native) System.RuntimeMethodHandle:GetFunctionPointer (intptr)
at System.RuntimeMethodHandle.GetFunctionPointer () [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionHelper.RedirectCalls (System.Reflection.MethodInfo from, System.Reflection.MethodInfo to) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethod (System.Type targetType, System.Reflection.MethodInfo detour, Boolean reverse) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethod (System.Type targetType, System.Reflection.MethodInfo method, System.Collections.Generic.Dictionary`2 redirects, Boolean reverse) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectMethods (System.Type type, System.Type targetType, System.Collections.Generic.Dictionary`2 redirects, Boolean onCreated) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.RedirectionUtil.RedirectType (System.Type type, Boolean onCreated) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.Extensions.TypeExtension.Redirect (System.Type type) [0x00000] in :0
at NaturalResourcesBrush.RedirectionFramework.Redirector`1[NaturalResourcesBrush.Detours.LandscapingPanelDetour].Deploy () [0x00000] in :0
at NaturalResourcesBrush.LoadingExtension.OnCreated (ILoading loading) [0x00000] in :0
at LoadingWrapper.OnLoadingExtensionsCreated () [0x00000] in :0

But I dont have anything called natrural resource brush

Thats related to the old Extra Landscaping tools, remove that and sub to the new one.

Источник

Cities skylines mod caused an error

Cities: Skylines

A Mod caused an error [ModException]

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

When I join the game, I can’t play for too long cause there is always this error on the screen:

Object reference not set to an instance of an object [System.NullReferenceException]

If the problem persist create a new support thread @ PDX forums and include the required files according to this pinned post:
https://steamcommunity.com/app/255710/discussions/0/1620599015887345348/

I have similar issues it shows

A Mod caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at OptionsMainPanel.AddUserMods () [0x00000] in :0

Everytime I start the game with all of them disabled and everytime I enable one it shows too

Источник

Cities skylines mod caused an error

Cities: Skylines

A Mod caused an error [ModException]

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

When I join the game, I can’t play for too long cause there is always this error on the screen:

Object reference not set to an instance of an object [System.NullReferenceException]

If the problem persist create a new support thread @ PDX forums and include the required files according to this pinned post:
https://steamcommunity.com/app/255710/discussions/0/1620599015887345348/

I have similar issues it shows

A Mod caused an error [ModException]

Details:
System.NullReferenceException: Object reference not set to an instance of an object
at OptionsMainPanel.AddUserMods () [0x00000] in :0

Everytime I start the game with all of them disabled and everytime I enable one it shows too

Источник

Cities skylines mod caused an error

A Mod caused an error [System.Exception]

Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.NullReferenceException: Object reference not set to an instance of an object
at TestProject.TestProject.OnDisabled () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception

I keep getting this error and I’ve been trying all day to fix it with no luck. It pops up some times whenever I open my mods list before I start launch a city.

I’m still able to start a new city, but I’m unable to open the map editor. I was working on making a new map all week and I’m now unable to open it today or any other map file. It doesn’t seem like I can use the map editor at all. I’m not 100% sure, but I think this error has something to do with the reason why. It started to pop up when I was no longer able to open files in the map editor.

Any ideas how to resolve this?

Hard Mode (ID=18446744073709551615) deactivated
Unlimited Money (ID=18446744073709551615) activated
Unlimited Oil And Ore (ID=18446744073709551615) activated
Unlimited Soil (ID=18446744073709551615) activated
Unlock All (ID=18446744073709551615) activated
Harmony 2.2-0 (ID=2040656402) activated
More Beautification (ID=505480567) activated
Building Variations (ID=1782814610) activated
Building Themes (ID=466158459) activated
Ploppable Asphalt Plus [Loading Time Fix] (ID=2688768140) activated
Dance90s (ID=2091637451) activated
British Invasion (ID=2750750063) activated
Better Train Boarding (ID=2773460744) activated
Extra Landscaping Tools (ID=502750307) activated
Prefab Hook (ID=530771650) activated
Parallel Road Tool 2.0.5 (ID=1440928803) activated
81 Tiles (Fixed for C:S 1.2+) (ID=576327847) activated
UnlimitedOutsideConnections (ID=497033453) activated
One-Way Train Tracks (ID=724382534) activated
Custom Effect Loader (ID=1886877404) activated
Railway Replacer (ID=1530376523) activated
Transparency LOD Fix + Cloud Assets Enabler (ID=922939393) activated
Klyte’s Fine Road Tool 2.0.4 (ID=1844442251) activated
Undo It! (ID=1890830956) activated
Terraform Tool (ID=411095553) activated
Map Editor Tunnels Enabler (ID=645390478) activated
Ploppable RICO (ID=586012417) activated
Campus Parks r2.0.0 (ID=1824254667) activated
Additive Shader (ID=1410003347) activated
Precision Engineering (ID=445589127) activated
Prop Precision 1.0.1 (ID=791221322) activated
Prop Line Tool (ID=694512541) activated
Rotate Brush (ID=1691909129) activated
Music pack: GNR (ID=1126230172) activated
CSL Music Mod (ID=2474585115) activated
Radio (ID=630118244) activated
Daylight Classic (ID=530871278) activated
Need For Speed ProStreet Soundtrack Music Pack (ID=1301578707) activated
[CSLMM] Bean City (ID=1136663754) activated
Sun Shafts (ID=933513277) activated
Ultimate Eyecandy 1.5.2 (ID=672248733) activated
Dynamic Resolution (ID=812713438) activated
Electro-Choc (ID=1573683382) activated
Tram Station Track (ID=707497031) activated
Extra Train Station Tracks (ID=515489008) activated
Network Tiling (ID=1274199764) activated
Decal Prop Fix (ID=767233815) activated
TCFM (ID=1286392160) activated
WCTR Talk Radio (ID=2211276254) activated
First Person Camera v2.1 (ID=2764243667) activated
Klyte’s Fine Road Anarchy 2.0.2 (ID=1844440354) activated
Phantom Lane Remover (ID=536250255) activated
Ploppable Asphalt (ID=881291183) activated
Adaptive Networks 3.6 (ID=2414618415) activated
Slope Limiter (ID=413311572) activated
Random Tree Rotation (ID=556784825) activated
Plop Growables (ID=924884948) activated
Theme Editor Maps (ID=1364044386) activated
TM:PE 11.6.5.3 STABLE (ID=1637663252) activated
Forest Brush (ID=1658679290) activated
Persistent Fog Adjuster (ID=1883101331) activated
Picker 1.6.7 (ID=2172488844) activated
Compatibility Report v0.7.5 (ID=2633433869) activated
Procedural Objects 1.7.7 (ID=1094334744) activated
Move It 2.9.6 (ID=1619685021) activated
Intersection Marking Tool 1.9.0.1 (ID=2140418403) activated
BOB — the tree and prop replacer 0.9.4.2 (ID=2197863850) activated
Node Controller Renewal 3.2.0.2 (ID=2472062376) activated
Network Multitool 1.3 (ID=2560782729) activated
Radio Los Santos (ID=2698712411) activated
Generation X (ID=2730185695) activated
95.4 KRhryme (ID=2730426420) activated
AllowIntercityTrains v1.2 (ID=2784268275) activated

Источник

Cities skylines mod caused an error

Cities: Skylines

can someone tell me which mod is causing this error:

A Mod Caused an error [ModException]
Details:
System.IndexOutofRangeException: Array index is out of range
at OptionsMainPanel.AddUserMods () [0x00000] in :0

Yeah, instead of having a built-in system for mods that at least identifies which mod is causing issues you have to comb through mods one by one like a detective to figure it out yourself. Wonderful method. Manage your mods, a**hole. Thank you Paradox!

Instead it is up to me to spend an hour or two (or three) to go through mods one by one and find out manually which of the 50 mods I use started to develop issues in the latest patch instead of playing the game. Thank you!

OP does have a valid point, although frustration even understandable should not be ventilated to mr grapplehoeker who is always here to help and assist and posts to nearly every question. Chapeau.

Cities is an awesome game and can be played without mods. What makes cities extra-ordinairy and exceptional are the mods. And OP is right also the devs themselves ‘liked it’ and promoted it which means one goes with the other which is great. Respect to collosal for opening up like that.

Where i find OP has a valid point is that technically it should be possible to have a somewhat better report on crashed and exceptions to not waste time on searching a needle in the haystack. I’ll be honest i did that once (indeed 3 hours).. followed all guides. Even moved my mods and assets to local disk (and unsubscribed workshop etc). Recently same happened crashes etc so for now i gave up. I decided to wait some weeks to see if problem fixes itself and i can load my safe again. If not — game over. Which is not what anybody should desire but I hear many people doing that even some famous youtubers. Silvarret once complained he could not finish his city and there are many others. Thats remains a frustrating experience when you spend numerous hours building.

So my point is. For a game that is so great with mods and assets and that frequently crashes due to these mods and assets. not the fault of the devs.. it would make life at least easier to have a better crash report. and if not well, then so be it too.

Источник

Обновлено: 08.02.2023

Details:
System.Reflection.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
at OptionsMainPanel.AddUserMods () [0x00000] in :0

как ее решить? и еще как только начинаю загрузку игры, доходит примерно до половины и зависает . Помогите пожалуйста

A mod caused an error cities skylines что делать

Макс Коробкин

Купил специально, чтобы с модами поиграть, в итоге встает на глухо во время загрузки. Все модификации не отображаются в диспетчере. Постоянно выдает
A Mod caused an error [ModException]

Details:
System.Reflection.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 <filename unknown>:0
at ColossalFramework.Plugins.PluginManager+PluginInfo.GetInstances[IUserMod] () [0x00000] in <filename unknown>:0
at EntryData.GenerateData () [0x00000] in <filename unknown>:0

При запуске игры.
Изначально загружал карту, но на ней кроме меню ничего не было и вода. Так понимаю что-то с модами. Смысл тогда от этого воркшопа, если гемора с ним столько же сколько и на пиратке, там то хоть знаешь куда что ставил и что нужно удалять. А тут дремучий лес. Может кто знает как решить проблему.
Файлы подкачки увеличивал и все таком духе уже пробовал. Переустановить стим нет возможности, без вариантов столько игр и модов к ним скачивать и настраивать. (по крайней мере раньше так нужно было делать каждый раз при переустановки стима).

A Mod caused an error

A Mod caused an error [ModException]

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

I copy the error as it really does not tell me much as to what exactly is the issue. Now I look at my city and it seems that the majority of my roads are gone and well.. as you know if.. if the roads are gone THE CITY IS gone!

Mod exception

Sinister

Simtropolis relies mainly on member donations to continue operating. Without your support, we just would not be able to be entering our 17th year online! You’ve really help make this a great community.

But we still need your support to stay online. If you’re able to, please consider a donation to help us stay up and running, so that we can help keep bringing SimCity players together to share our creations.

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

stexcollection-header.jpg

By way of a «Thank You» gift, we’d like to send you our STEX Collector’s DVD. It’s some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Читайте также:

      

  • Как вызвать вертолет в сталкер call of chernobyl by stason
  •   

  • Wow dm что это значит
  •   

  • Лечебный стимулятор will to live online как создать
  •   

  • Как поставить скин леона в майнкрафт
  •   

  • Как часто можно качать ягодицы девушкам дома

Понравилась статья? Поделить с друзьями:
  • Cisco vpn server internal error
  • Cisco vpn reason 412 error
  • Cisco vpn error 429 vpn client
  • Cisco vpn client error 440
  • Cisco vpn client error 412