GaiusChurchill Posted November 27, 2022 Share Posted November 27, 2022 (edited) I've tried everything, I just have no idea what could be causing this Null in the campaign map. If anyone with more experience can figure this out it would be greatly appreciated! Exeption: Exception informationType: System.NullReferenceExceptionMessage: Object reference not set to an instance of an object.Source: TaleWorlds.CampaignSystemCallStack: at TaleWorlds.CampaignSystem.Settlements.Locations.Location.GetLocationCharacter(Hero hero) at TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationCharacterOfHero(Hero hero) at TaleWorlds.CampaignSystem.CampaignBehaviors.HeroAgentSpawnCampaignBehavior.OnGovernorChanged(Town town, Hero oldGovernor, Hero newGovernor) at TaleWorlds.CampaignSystem.MbEvent`3.InvokeList(EventHandlerRec`3 list, T1 t1, T2 t2, T3 t3) at TaleWorlds.CampaignSystem.CampaignEvents.OnGovernorChanged(Town fortification, Hero oldGovernor, Hero newGovernor) at TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnGovernorChanged(Town fortification, Hero oldGovernor, Hero newGovernor) at TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior.UpdateGovernorsOfClan(Clan clan) at TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior.DailyTickClan(Clan clan) at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t) at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickClan(Clan clan) at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickClan(Clan clan) at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed) at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick() at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents() at TaleWorlds.CampaignSystem.Campaign.Tick() at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt) at TaleWorlds.CampaignSystem.GameState.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)Frame: GetLocationCharacter at offset 106 in file:line:column :0:0 (IL Offset: 31)Module: UNKNOWNMethod: TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.Location::GetLocationCharacter(TaleWorlds.CampaignSystem.Hero hero)Frame: GetLocationCharacterOfHero at offset 187 in file:line:column :0:0 (IL Offset: 43)Module: UNKNOWNMethod: TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex::GetLocationCharacterOfHero(TaleWorlds.CampaignSystem.Hero hero)Frame: OnGovernorChanged at offset 70 in file:line:column :0:0 (IL Offset: 3)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.HeroAgentSpawnCampaignBehavior::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town town, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)Frame: InvokeList at offset 49 in file:line:column :0:0 (IL Offset: 25)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.MbEvent`3::InvokeList(TaleWorlds.CampaignSystem.EventHandlerRec`3 list, TaleWorlds.CampaignSystem.T1 t1, TaleWorlds.CampaignSystem.T2 t2, TaleWorlds.CampaignSystem.T3 t3),>,>Frame: OnGovernorChanged at offset 56 in file:line:column :0:0 (IL Offset: 0)Module: UNKNOWNMethod: virtual System.Void TaleWorlds.CampaignSystem.CampaignEvents::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town fortification, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)Frame: OnGovernorChanged at offset 66 in file:line:column :0:0 (IL Offset: 11)Module: UNKNOWNMethod: virtual System.Void TaleWorlds.CampaignSystem.CampaignEventDispatcher::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town fortification, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)Frame: UpdateGovernorsOfClan at offset 1288 in file:line:column :0:0 (IL Offset: 635)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior::UpdateGovernorsOfClan(TaleWorlds.CampaignSystem.Clan clan)Frame: DailyTickClan at offset 1561 in file:line:column :0:0 (IL Offset: 662)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior::DailyTickClan(TaleWorlds.CampaignSystem.Clan clan)Frame: InvokeList at offset 33 in file:line:column :0:0 (IL Offset: 22)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.MbEvent`1::InvokeList(TaleWorlds.CampaignSystem.EventHandlerRec`1 list, TaleWorlds.CampaignSystem.T t),>Frame: DailyTickClan at offset 42 in file:line:column :0:0 (IL Offset: 0)Module: UNKNOWNMethod: virtual System.Void TaleWorlds.CampaignSystem.CampaignEvents::DailyTickClan(TaleWorlds.CampaignSystem.Clan clan)Frame: DailyTickClan at offset 47 in file:line:column :0:0 (IL Offset: 11)Module: UNKNOWNMethod: virtual System.Void TaleWorlds.CampaignSystem.CampaignEventDispatcher::DailyTickClan(TaleWorlds.CampaignSystem.Clan clan)Frame: PeriodicTickSome at offset 428 in file:line:column :0:0 (IL Offset: 139)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.PeriodicTicker`1::PeriodicTickSome(System.Double timeUnitsElapsed)Frame: PeriodicDailyTick at offset 142 in file:line:column :0:0 (IL Offset: 67)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager::PeriodicDailyTick()Frame: TickPeriodicEvents at offset 26 in file:line:column :0:0 (IL Offset: 6)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager::TickPeriodicEvents()Frame: Tick at offset 206 in file:line:column :0:0 (IL Offset: 132)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.Campaign::Tick()Frame: OnMapModeTick at offset 255 in file:line:column :0:0 (IL Offset: 140)Module: UNKNOWNMethod: System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnMapModeTick(System.Single dt)Frame: OnTick at offset 146 in file:line:column :0:0 (IL Offset: 77)Module: UNKNOWNMethod: virtual System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnTick(System.Single dt)Frame: OnTick at offset 113 in file:line:column :0:0 (IL Offset: 47)Module: UNKNOWNMethod: System.Void TaleWorlds.Core.GameStateManager::OnTick(System.Single dt)Frame: OnTick at offset 74 in file:line:column :0:0 (IL Offset: 0)Module: UNKNOWNMethod: System.Void TaleWorlds.Core.Game::OnTick(System.Single dt)Frame: OnTick at offset 218 in file:line:column :0:0 (IL Offset: 0)Module: UNKNOWNMethod: System.Void TaleWorlds.Core.GameManagerBase::OnTick(System.Single dt)Frame: TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1 at offset 926 in file:line:column :0:0 (IL Offset: -1)Module: Bannerlord.ButterLibMethod: static System.Void Bannerlord.ButterLib.ExceptionHandler.BEWPatch::Finalizer(System.Exception __exception)Module: UNKNOWNMethod: static System.Void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(TaleWorlds.MountAndBlade.Module this, System.Single dt)Module: UNKNOWNMethod: System.Void TaleWorlds.MountAndBlade.Module::OnApplicationTick(System.Single dt) - Installed Modules+ Harmony (Bannerlord.Harmony, v2.2.2.138)+ Distinguished Service (DistinguishedService, v5.2.0.0)+ ButterLib (Bannerlord.ButterLib, v2.5.1.0)+ UIExtenderEx (Bannerlord.UIExtenderEx, v2.2.12.0)+ Mod Configuration Menu v5 (Bannerlord.MBOptionScreen, v5.3.1.0)+ Native (Native, v1.0.1.0)+ SandBox Core (SandBoxCore, v1.0.1.0)+ Sandbox (Sandbox, v1.0.1.0)+ Achievement Unblocker (AchievementUnblocker, v1.0.1.0)+ CustomBattle (CustomBattle, v1.0.1.0)+ StoryMode (StoryMode, v1.0.1.0)+ Attribute Per Level (AttributePerLevel, v1.0.6.0)+ Diplomacy (Bannerlord.Diplomacy, v1.1.16.0)+ Birth and Death Options (BirthAndDeath, v1.0.1.0)+ Dedicated Custom Server Helper (DedicatedCustomServerHelper, v1.0.1.0)+ Dismemberment (Plus) for v1.0.1 (DismembermentPlus, v2.0.5.4)+ FamilyControl (FamilyControl, v1.0.0.0)+ Fourberie (Fourberie, v8.3.1.0)+ Multiplayer (Multiplayer, v1.0.1.0)+ Party Screen Enhancements (PartyScreenEnhancements, v1.6.11.0)+ True Battle Loot (TrueBattleLoot, v1.2.6.0)+ Hot Butter (hotbutter, v1.7.3.0)+ Captivity Events (zCaptivityEvents, v1.0.1.1036)+ Default Captivity Events (zCEDefaults, v1.0.1.1036)+ Improved Garrisons (ImprovedGarrisons, v4.1.1.7) Edited November 27, 2022 by GaiusChurchill Link to comment Share on other sites More sharing options...
ZackBlastov Posted November 27, 2022 Share Posted November 27, 2022 Hi Though my ability to decipher these error reports is rather limited, it looks a lot like the issues these two mods try to addresss: https://www.nexusmods.com/mountandblade2bannerlord/mods/4728 https://www.nexusmods.com/mountandblade2bannerlord/mods/4291Hope it's helpful... Link to comment Share on other sites More sharing options...
GaiusChurchill Posted November 27, 2022 Author Share Posted November 27, 2022 T Hi Though my ability to decipher these error reports is rather limited, it looks a lot like the issues these two mods try to addresss: https://www.nexusmods.com/mountandblade2bannerlord/mods/4728 https://www.nexusmods.com/mountandblade2bannerlord/mods/4291Hope it's helpful...Thank you so much! I'll give them a try! Link to comment Share on other sites More sharing options...
Recommended Posts