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!
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)
Crash - "Object reference not set to an instance of an object"
in Discussion
Posted · Edited by SwaggerLee
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!
Object reference not set to an instance of an object.
No inner exception was thrown
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: Outer exception callstack:Hide taleworlds mods
Hide unloaded mods
Hide taleworlds dll