Happy to help
and me agian,
came accross another crash possibly related to custom culture. On my playthrough one castle with its villages changed to my custom culture (changing culture mod). After a brief moment crash:
- 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.Party.MobileParty.FillPartyStacks(PartyTemplateObject pt, Int32 troopNumberLimit)
at TaleWorlds.CampaignSystem.Party.PartyComponents.MilitiaPartyComponent.InitializeMilitiaPartyProperties(MobileParty mobileParty, Settlement settlement)
at TaleWorlds.CampaignSystem.Party.MobileParty.CreateParty(String stringId, PartyComponent component, OnPartyComponentCreatedDelegate delegateFunction)
at TaleWorlds.CampaignSystem.Party.PartyComponents.MilitiaPartyComponent.CreateMilitiaParty(String stringId, Settlement settlement)
at TaleWorlds.CampaignSystem.Settlements.Settlement.SpawnMilitiaParty()
at TaleWorlds.CampaignSystem.Settlements.Settlement.set_Militia(Single value)
at TaleWorlds.CampaignSystem.Settlements.Village.DailyTick()
at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)
at TaleWorlds.CampaignSystem.CampaignEvents.DailyTickSettlement(Settlement settlement)
at TaleWorlds.CampaignSystem.CampaignEventDispatcher.DailyTickSettlement(Settlement settlement)
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)
any help would be much appreciated