How do I tell what mod is causing a crash? It was working perfectly fine till the new hotfix. Is there anyway to tell what is causing this and what mod is causing it?
Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem
CallStack:
Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem
CallStack:
- at Helpers.SettlementHelper.NumberOfVolunteersCanBeRecruitedFrom_Patch2(Hero hero, Settlement settlement)
- 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(Single dt)
- at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)
Installed Modules
- + Harmony (Bannerlord.Harmony, v2.1.1.65)
- + ButterLib (Bannerlord.ButterLib, v1.0.31.0)
- + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
- + Mod Configuration Menu v4 (Bannerlord.MBOptionScreen, v4.3.17.0)
- + Native (Native, e1.7.0.0)
- + SandBox Core (SandBoxCore, e1.7.0.0)
- + CustomBattle (CustomBattle, e1.7.0.0)
- + Sandbox (Sandbox, e1.7.0.0)
- + StoryMode (StoryMode, e1.7.0.0)
- + Realistic Battle Combat Module and Unit Overhaul (RealisticBattleCombatModule, v2.2.5.0)
- + Realistic Battle AI Module (RealisticBattleAiModule, v2.2.5.0)
- + True Arena Experience (ArenaExperience, v1.0.5.0)
- + AutoResolveRebalanced (AutoResolveRebalanced, v1.6.5.0)
- + Diplomacy (Bannerlord.Diplomacy, v1.1.9.0)
- + Better Capes (BetterCapes, e1.1.0.0)
- + Better HUD (BetterHUD, v1.3.6.0)
- + Dismemberment (Plus) (DismembermentPlus, v2.0.1.6)
- + Improved Garrisons (ImprovedGarrisons, v4.0.3.12)
- + Noble Titles (NobleTitles, v1.2.1.2)
- + Open Source Armory (OpenSourceArmory, v1.8.1.0)
- + Party AI Overhaul and Commands (PartyAIOverhaulCommands, e1.7.0.0)
- + Pathfinding (Pathfinding, v1.1.0.0)
- + True Noble Opinion (TrueNobleOpinion, v1.1.3.0)
- + True Relations (TrueRelations, v1.4.5.0)
- + Useful Companions (UsefullCompanions, v0.3.17.0)
- + YellOut (YellOut, v2.0.0.0)
- + RTS Camera (RTSCamera, e3.10.0.0)
- + Party Screen Enhancements (PartyScreenEnhancements, v1.6.6.0)