Jump to content


Crash - "Object reference not set to an instance of an object"

crash modding

No replies to this topic




  • Supporter
  • Pip
  • 3 posts

Been getting this strange crash lately, and I've yet to find out what's happening. Re-arranging some mods around didn't seem to help, though I might just have put it in a bad load order or some mods are outdated. I've tried to attach my crash report, hopefully it uploaded. If not, some of the crash report is below. Thanks!


- Reasons
Source: TaleWorlds.CampaignSystem

Object reference not set to an instance of an object.

- Inner exception
Source: No module

No inner exception was thrown

- Callstacks

Protip: Use a debugger like dnSpy or Visual studio to trace the source of error, by stepping the program line by line. You can restart with dnSpy attached.

Inner exception callstack:
No inner exception was thrown
Outer exception callstack:
   at TaleWorlds.CampaignSystem.SandBox.GameComponents.Map.DefaultMobilePartyFoodConsumptionModel.CalculateDailyFoodConsumptionf(MobileParty party, Boolean includeDescription)
   at TaleWorlds.CampaignSystem.MobileParty.get_FoodChange()
   at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.AiBehaviors.AiVisitSettlementBehavior.AiHourlyTick(MobileParty mobileParty, PartyThinkParams p)
   at TaleWorlds.CampaignSystem.MbEvent`2.InvokeList(EventHandlerRec`2 list, T1 t1, T2 t2)
   at TaleWorlds.CampaignSystem.CampaignEvents.AiHourlyTick(MobileParty party, PartyThinkParams partyThinkParams)
   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.AiHourlyTick(MobileParty party, PartyThinkParams partyThinkParams)
   at TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.AiBehaviors.AiPartyThinkBehavior.PartyHourlyAiTick(MobileParty mobileParty)
   at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
   at TaleWorlds.CampaignSystem.CampaignEvents.TickPartialHourlyAi(MobileParty party)
   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.TickPartialHourlyAi(MobileParty party)
   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
   at TaleWorlds.CampaignSystem.Campaign.Tick()
   at TaleWorlds.CampaignSystem.MapState.OnMapModeTick(Single dt)
   at TaleWorlds.CampaignSystem.MapState.OnTick(Single dt)
   at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
   at TaleWorlds.Core.Game.OnTick(Single dt)
   at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
   at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, Single dt)
- Installed mods

Hide taleworlds mods

Hide unloaded mods

- Loaded DLLs

Hide taleworlds dll


Edited by SwaggerLee, 17 April 2022 - 11:21 AM.

Reply to this topic


Also tagged with one or more of these keywords: crash, modding

IPB skins by Skinbox
Page loaded in: 1.126 seconds