Need More Info Crash On Clan Member Joining Party

Users who are viewing this thread

Version number
1.0.0
Branch
Main
Modded/unmodded
Yes, but I removed mods.
Summary: I had utilized the clan menu to recall a child to my main hero's party. On the daily wage tick, my game proceeds to crash. I am guessing (but not 100% certain) that this daily wage tick is when that character would join the party, and that the game is crashing on trying to add it to the party.
How to Reproduce: Recall a clan member to the party. Wait until the member joins.
Have you used cheats and if so which: Mods? Yes, but irrelevant (replicated issue by loading save unmodded, and by enabling mods individually; did not affect result).
Media (Screenshots & Video): I've attached the exception and stacktrace reports from BUTRloader below. Its report indicated that no modules were involved in the crash, which is confusing to me but may make sense to somebody who understands the coding (I do not)
Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem
CallStack:
1. at TaleWorlds.CampaignSystem.Settlements.Locations.Location.GetLocationCharacter(Hero hero)
2. at TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex.GetLocationCharacterOfHero(Hero hero)
3. at TaleWorlds.CampaignSystem.CampaignBehaviors.HeroAgentSpawnCampaignBehavior.OnGovernorChanged(Town town, Hero oldGovernor, Hero newGovernor)
4. at TaleWorlds.CampaignSystem.MbEvent`3.InvokeList(EventHandlerRec`3 list, T1 t1, T2 t2, T3 t3)
5. at TaleWorlds.CampaignSystem.CampaignEvents.OnGovernorChanged(Town fortification, Hero oldGovernor, Hero newGovernor)
6. at TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnGovernorChanged(Town fortification, Hero oldGovernor, Hero newGovernor)
7. at TaleWorlds.CampaignSystem.Actions.ChangeGovernorAction.ApplyInternal(Town fortification, Hero governor)
8. at TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior.UpdateGovernorsOfClan(Clan clan)
9. at TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior.DailyTickClan(Clan clan)
10. at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
11. at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickClan(Clan clan)
12. at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickClan(Clan clan)
13. at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)
14. at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicDailyTick()
15. at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
16. at TaleWorlds.CampaignSystem.Campaign.Tick()
17. at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)
18. at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)
19. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
20. at TaleWorlds.Core.Game.OnTick(Single dt)
21. at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
22. at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, Single dt)

Enhanced Stacktrace
<li>Frame: GetLocationCharacter at offset 106 in file:line:column <filename unknown>:0:0
(IL Offset: 31)</br><ul><li>Module: UNKNOWN</br>Method: TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.Location::GetLocationCharacter(TaleWorlds.CampaignSystem.Hero hero)</br></li></ul></li>
<li>Frame: GetLocationCharacterOfHero at offset 187 in file:line:column <filename unknown>:0:0
(IL Offset: 43)</br><ul><li>Module: UNKNOWN</br>Method: TaleWorlds.CampaignSystem.Settlements.Locations.LocationCharacter TaleWorlds.CampaignSystem.Settlements.Locations.LocationComplex::GetLocationCharacterOfHero(TaleWorlds.CampaignSystem.Hero hero)</br></li></ul></li>
<li>Frame: OnGovernorChanged at offset 70 in file:line:column <filename unknown>:0:0
(IL Offset: 3)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.HeroAgentSpawnCampaignBehavior::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town town, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)</br></li></ul></li>
<li>Frame: InvokeList at offset 49 in file:line:column <filename unknown>:0:0
(IL Offset: 25)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.MbEvent`3<TaleWorlds.CampaignSystem.T1, TaleWorlds.CampaignSystem.T2, TaleWorlds.CampaignSystem.T3>::InvokeList(TaleWorlds.CampaignSystem.EventHandlerRec`3<TaleWorlds.CampaignSystem.T1, TaleWorlds.CampaignSystem.T2, TaleWorlds.CampaignSystem.T3, TaleWorlds.CampaignSystem.T1, TaleWorlds.CampaignSystem.T2, TaleWorlds.CampaignSystem.T3> list, TaleWorlds.CampaignSystem.T1 t1, TaleWorlds.CampaignSystem.T2 t2, TaleWorlds.CampaignSystem.T3 t3)</br></li></ul></li>
<li>Frame: OnGovernorChanged at offset 56 in file:line:column <filename unknown>:0:0
(IL Offset: 0)</br><ul><li>Module: UNKNOWN</br>Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEvents::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town fortification, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)</br></li></ul></li>
<li>Frame: OnGovernorChanged at offset 66 in file:line:column <filename unknown>:0:0
(IL Offset: 11)</br><ul><li>Module: UNKNOWN</br>Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEventDispatcher::OnGovernorChanged(TaleWorlds.CampaignSystem.Settlements.Town fortification, TaleWorlds.CampaignSystem.Hero oldGovernor, TaleWorlds.CampaignSystem.Hero newGovernor)</br></li></ul></li>
<li>Frame: ApplyInternal at offset 361 in file:line:column <filename unknown>:0:0
(IL Offset: 137)</br><ul><li>Module: UNKNOWN</br>Method: static System.Void TaleWorlds.CampaignSystem.Actions.ChangeGovernorAction::ApplyInternal(TaleWorlds.CampaignSystem.Settlements.Town fortification, TaleWorlds.CampaignSystem.Hero governor)</br></li></ul></li>
<li>Frame: UpdateGovernorsOfClan at offset 1300 in file:line:column <filename unknown>:0:0
(IL Offset: 635)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior::UpdateGovernorsOfClan(TaleWorlds.CampaignSystem.Clan clan)</br></li></ul></li>
<li>Frame: DailyTickClan at offset 1561 in file:line:column <filename unknown>:0:0
(IL Offset: 662)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.ClanVariablesCampaignBehavior::grin:ailyTickClan(TaleWorlds.CampaignSystem.Clan clan)</br></li></ul></li>
<li>Frame: InvokeList at offset 33 in file:line:column <filename unknown>:0:0
(IL Offset: 22)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.MbEvent`1<TaleWorlds.CampaignSystem.T>::InvokeList(TaleWorlds.CampaignSystem.EventHandlerRec`1<TaleWorlds.CampaignSystem.T, TaleWorlds.CampaignSystem.T> list, TaleWorlds.CampaignSystem.T t)</br></li></ul></li>
<li>Frame: DailyTickClan at offset 42 in file:line:column <filename unknown>:0:0
(IL Offset: 0)</br><ul><li>Module: UNKNOWN</br>Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEvents::grin:ailyTickClan(TaleWorlds.CampaignSystem.Clan clan)</br></li></ul></li>
<li>Frame: DailyTickClan at offset 47 in file:line:column <filename unknown>:0:0
(IL Offset: 11)</br><ul><li>Module: UNKNOWN</br>Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEventDispatcher::grin:ailyTickClan(TaleWorlds.CampaignSystem.Clan clan)</br></li></ul></li>
<li>Frame: PeriodicTickSome at offset 428 in file:line:column <filename unknown>:0:0
(IL Offset: 139)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.PeriodicTicker`1<TaleWorlds.CampaignSystem.T>::razz:eriodicTickSome(System.Double timeUnitsElapsed)</br></li></ul></li>
<li>Frame: PeriodicDailyTick at offset 142 in file:line:column <filename unknown>:0:0
(IL Offset: 67)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager::razz:eriodicDailyTick()</br></li></ul></li>
<li>Frame: TickPeriodicEvents at offset 26 in file:line:column <filename unknown>:0:0
(IL Offset: 6)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager::TickPeriodicEvents()</br></li></ul></li>
<li>Frame: Tick at offset 206 in file:line:column <filename unknown>:0:0
(IL Offset: 132)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.Campaign::Tick()</br></li></ul></li>
<li>Frame: OnMapModeTick at offset 255 in file:line:column <filename unknown>:0:0
(IL Offset: 140)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnMapModeTick(System.Single dt)</br></li></ul></li>
<li>Frame: OnTick at offset 146 in file:line:column <filename unknown>:0:0
(IL Offset: 77)</br><ul><li>Module: UNKNOWN</br>Method: virtual System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnTick(System.Single dt)</br></li></ul></li>
<li>Frame: OnTick at offset 113 in file:line:column <filename unknown>:0:0
(IL Offset: 47)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.Core.GameStateManager::OnTick(System.Single dt)</br></li></ul></li>
<li>Frame: OnTick at offset 74 in file:line:column <filename unknown>:0:0
(IL Offset: 0)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.Core.Game::OnTick(System.Single dt)</br></li></ul></li>
<li>Frame: OnTick at offset 218 in file:line:column <filename unknown>:0:0
(IL Offset: 0)</br><ul><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.Core.GameManagerBase::OnTick(System.Single dt)</br></li></ul></li>
<li>Frame: TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1 at offset 926 in file:line:column <filename unknown>:0:0
(IL Offset: -1)</br><ul><li>Module: Bannerlord.ButterLib</br>Method: static System.Void Bannerlord.ButterLib.ExceptionHandler.BEWPatch::Finalizer(System.Exception __exception)</br></li><li>Module: UNKNOWN</br>Method: static System.Void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(TaleWorlds.MountAndBlade.Module this, System.Single dt)</br></li><li>Module: UNKNOWN</br>Method: System.Void TaleWorlds.MountAndBlade.Module::OnApplicationTick(System.Single dt)</br></li></ul></li>
 
Hey, can you reproduce the issue on a new campaign after manually removing the mod files and verifying the integrity of the game files? If the issue is persistent on a new campaign, please let me know.
 
Started a new campaign post 1.0.1 updated, unmodded, files verified. Same crash occurs (compared the exceptions and stacktraces, they're identical) but this time it occurred after starting then breaking a siege, after several game ticks. This makes me think that the issue is not an issue with clan members joining the party, but rather an issue with the game processing background events (like battle autoresolves). Crash occurred after less than an in-game day of time without fail regardless of what I did in the interim between loading the save and the crash.
 
Back
Top Bottom