Hey all, I'd appreciate if anybody could shed some light here.
I'm getting this exception after crashing my modded campaign map:
It was running fine on previous betas , up to 1.24 - I can reproduce it after waiting for a while; it could happen in less than a minute or several minutes after waiting. Crash report mentions something about dynamic weather out of bounds. I didn't have the crash in version 1.24, so I'm assuming is related to the new weather features in the editor(1.26)?
I posted it in Discord and someone suggested it might be a vanilla bug, but it doesn't seem to be the case. Since I'm no coder, I'm kinda clueless at the moment because I didn't change anything related to weather(perhaps I should?).Please see the detailed crash report for more details.:
I'm getting this exception after crashing my modded campaign map:
Exception information
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: TaleWorlds.CampaignSystem
CallStack:
Type: System.IndexOutOfRangeException
Message: Index was outside the bounds of the array.
Source: TaleWorlds.CampaignSystem
CallStack:
- at WeatherEvent TaleWorlds.CampaignSystem.GameComponents.DefaultMapWeatherModel.GetWeatherEventInPosition(Vec2 pos)
- at WeatherEventEffectOnTerrain TaleWorlds.CampaignSystem.GameComponents.DefaultMapWeatherModel.GetWeatherEffectOnTerrainForPosition(Vec2 pos)
- at bool TaleWorlds.CampaignSystem.Party.MobileParty.IsBaseSpeedCacheInvalid()
- at float TaleWorlds.CampaignSystem.Party.MobileParty.CalculateSpeedForPartyUnified()
- at float TaleWorlds.CampaignSystem.Party.MobileParty.CalculateSpeed()
- at void TaleWorlds.CampaignSystem.CharacterDevelopment.DefaultSkillLevelingManager.OnTraverseTerrain(MobileParty mobileParty, TerrainType currentTerrainType)
- at void TaleWorlds.CampaignSystem.CampaignBehaviors.MobilePartyTrainingBehavior.CheckScouting(MobileParty mobileParty)
- at void TaleWorlds.CampaignSystem.CampaignBehaviors.MobilePartyTrainingBehavior.WorkSkills(MobileParty mobileParty)
- at void TaleWorlds.CampaignSystem.CampaignBehaviors.MobilePartyTrainingBehavior.HourlyTickParty(MobileParty mobileParty)
- at void TaleWorlds.CampaignSystem.MbEvent.InvokeList(EventHandlerRec list, T t)
- at void TaleWorlds.CampaignSystem.CampaignEvents.HourlyTickParty(MobileParty mobileParty)
- at void TaleWorlds.CampaignSystem.CampaignEventDispatcher.HourlyTickParty(MobileParty mobileParty)
- at void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager+PeriodicTicker.PeriodicTickSome(double timeUnitsElapsed)
- at void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicHourlyTick()
- at void TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPeriodicEvents()
- at void TaleWorlds.CampaignSystem.Campaign.Tick()
- at void TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(float dt)
- at void TaleWorlds.CampaignSystem.GameState.MapState.OnTick(float dt)
- at void TaleWorlds.Core.GameStateManager.OnTick(float dt)
- at void TaleWorlds.Core.Game.OnTick(float dt)
- at void TaleWorlds.Core.GameManagerBase.OnTick(float dt)
- at void TaleWorlds.MountAndBlade.Module.OnApplicationTick(float dt)
- at void TaleWorlds.DotNet.Managed.ApplicationTick(float dt)
- at void ManagedCallbacks.LibraryCallbacksGenerated.Managed_ApplicationTick_Patch1(float dt)
I posted it in Discord and someone suggested it might be a vanilla bug, but it doesn't seem to be the case. Since I'm no coder, I'm kinda clueless at the moment because I didn't change anything related to weather(perhaps I should?).Please see the detailed crash report for more details.:
weather causing crash after waiting for a while (main map)
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com