R-Vaccari / bannerlord-banner-kings

BSD 3-Clause "New" or "Revised" License
68 stars 1.22k forks source link

Mod crashes something to do with Sandbox? #174

Open LvL53 opened 9 months ago

LvL53 commented 9 months ago

All versions according to the current installation guide Describe the bug:

Everything goes well on startup, only things activated are the mods necessary for bannerkings and bannerkings cultures expanded. There's some kind of interference with the latter(BKCE) it crashes when clicking bannerkings on the menu. Without all the BKCE mods everything is alright so the is is for sure because of the expanded version. Checked all the mod version and did everything according to the installation file. So my question is this: Has anybody run into this issue? Would it help to disable the sandbox mod on the launch screen?

With all mods EXCEPT Bannerkings expanded cultures the game loads perfectly but just checking that one makes the game crash. Any help would be much appreciated. Been at this all day but simpyl can't find the problem!

This is the crash report:

- Exception Exception information Type: System.AccessViolationException Message: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. Source: SandBox CallStack: at Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition(PathFaceRecord face) at Settlement TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel.GetClosestSettlementForNavigationMesh(PathFaceRecord face) at bool TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel.GetDistance(IMapPoint fromMapPoint, Settlement toSettlement, float maximumDistance, out float distance) at Settlement Helpers.SettlementHelper.FindNearestSettlement(Func condition, IMapPoint toMapPoint) at void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior.TryToAssignTradeBoundForVillage(Village village) at void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior.UpdateTradeBounds() at void TaleWorlds.CampaignSystem.MbEvent.InvokeList(EventHandlerRec list, T t) at void TaleWorlds.CampaignSystem.CampaignEvents.OnNewGameCreated(CampaignGameStarter campaignGameStarter) at void TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnNewGameCreated(CampaignGameStarter campaignGameStarter) at void TaleWorlds.CampaignSystem.Campaign.OnNewGameCreated(CampaignGameStarter gameStarter) at void TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState) at bool TaleWorlds.Core.GameType.DoLoadingForGameType() at void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep) at bool TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager() at void TaleWorlds.MountAndBlade.GameLoadingState.OnTick(float dt) at void TaleWorlds.Core.GameStateManager.OnTick(float dt) at void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, float dt) at void TaleWorlds.DotNet.Managed.ApplicationTick_Patch2(float dt) - Enhanced Stacktrace Frame: Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition(PathFaceRecord face) (IL Offset: 25) Module: Sandbox Method: virtual TaleWorlds.Library.Vec2 SandBox.MapScene::GetNavigationMeshCenterPosition(TaleWorlds.Library.PathFaceRecord face) Method From Stackframe Issue: False CIL:

Frame: Settlement TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel.GetClosestSettlementForNavigationMesh(PathFaceRecord face) (IL Offset: 0) Module: UNKNOWN Method: virtual TaleWorlds.CampaignSystem.Settlements.Settlement TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel::GetClosestSettlementForNavigationMesh(TaleWorlds.Library.PathFaceRecord face) Method From Stackframe Issue: False CIL:

Frame: bool TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel.GetDistance(IMapPoint fromMapPoint, Settlement toSettlement, float maximumDistance, out float distance) (IL Offset: 69) Module: UNKNOWN Method: virtual System.Boolean TaleWorlds.CampaignSystem.GameComponents.DefaultMapDistanceModel::GetDistance(TaleWorlds.CampaignSystem.Map.IMapPoint fromMapPoint, TaleWorlds.CampaignSystem.Settlements.Settlement toSettlement, System.Single maximumDistance, System.Single& distance) Method From Stackframe Issue: False CIL:

Frame: Settlement Helpers.SettlementHelper.FindNearestSettlement(Func condition, IMapPoint toMapPoint) (IL Offset: 50) Module: UNKNOWN Method: static TaleWorlds.CampaignSystem.Settlements.Settlement Helpers.SettlementHelper::FindNearestSettlement(System.Func`2 condition, TaleWorlds.CampaignSystem.Map.IMapPoint toMapPoint) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior.TryToAssignTradeBoundForVillage(Village village) (IL Offset: 25) Module: UNKNOWN Method: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior::TryToAssignTradeBoundForVillage(TaleWorlds.CampaignSystem.Settlements.Village village) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior.UpdateTradeBounds() (IL Offset: 53) Module: UNKNOWN Method: System.Void TaleWorlds.CampaignSystem.CampaignBehaviors.VillageTradeBoundCampaignBehavior::UpdateTradeBounds() Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.MbEvent.InvokeList(EventHandlerRec list, T t) (IL Offset: 14) Module: UNKNOWN Method: System.Void TaleWorlds.CampaignSystem.MbEvent1::InvokeList(TaleWorlds.CampaignSystem.EventHandlerRec1 list, TaleWorlds.CampaignSystem.T t) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.CampaignEvents.OnNewGameCreated(CampaignGameStarter campaignGameStarter) (IL Offset: 16) Module: UNKNOWN Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEvents::OnNewGameCreated(TaleWorlds.CampaignSystem.CampaignGameStarter campaignGameStarter) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnNewGameCreated(CampaignGameStarter campaignGameStarter) (IL Offset: 20) Module: UNKNOWN Method: virtual System.Void TaleWorlds.CampaignSystem.CampaignEventDispatcher::OnNewGameCreated(TaleWorlds.CampaignSystem.CampaignGameStarter campaignGameStarter) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.Campaign.OnNewGameCreated(CampaignGameStarter gameStarter) (IL Offset: 41) Module: UNKNOWN Method: System.Void TaleWorlds.CampaignSystem.Campaign::OnNewGameCreated(TaleWorlds.CampaignSystem.CampaignGameStarter gameStarter) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState) (IL Offset: 634) Module: UNKNOWN Method: virtual System.Void TaleWorlds.CampaignSystem.Campaign::DoLoadingForGameType(TaleWorlds.Core.GameTypeLoadingStates gameTypeLoadingState, TaleWorlds.Core.GameTypeLoadingStates& nextState) Method From Stackframe Issue: False CIL:

Frame: bool TaleWorlds.Core.GameType.DoLoadingForGameType() (IL Offset: 131) Module: UNKNOWN Method: System.Boolean TaleWorlds.Core.GameType::DoLoadingForGameType() Method From Stackframe Issue: False CIL:

Frame: void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep) (IL Offset: 320) Module: Sandbox Method: virtual System.Void SandBox.SandBoxGameManager::DoLoadingForGameManager(TaleWorlds.Core.GameManagerLoadingSteps gameManagerLoadingStep, TaleWorlds.Core.GameManagerLoadingSteps& nextStep) Method From Stackframe Issue: False CIL:

Frame: bool TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager() (IL Offset: 220) Module: UNKNOWN Method: System.Boolean TaleWorlds.Core.GameManagerBase::DoLoadingForGameManager() Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.MountAndBlade.GameLoadingState.OnTick(float dt) (IL Offset: 15) Module: UNKNOWN Method: virtual System.Void TaleWorlds.MountAndBlade.GameLoadingState::OnTick(System.Single dt) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.Core.GameStateManager.OnTick(float dt) (IL Offset: 47) Module: UNKNOWN Method: System.Void TaleWorlds.Core.GameStateManager::OnTick(System.Single dt) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, float dt) (IL Offset: -1) Module: UNKNOWN Method: static System.Void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(TaleWorlds.MountAndBlade.Module this, System.Single dt) Method From Stackframe Issue: False CIL:

Frame: void TaleWorlds.DotNet.Managed.ApplicationTick_Patch2(float dt) (IL Offset: -1) Module: UNKNOWN Method: static System.Void TaleWorlds.DotNet.Managed.ApplicationTick_Patch2(System.Single dt) Method From Stackframe Issue: False CIL:

- Involved Modules Sandbox Method: virtual TaleWorlds.Library.Vec2 SandBox.MapScene::GetNavigationMeshCenterPosition(TaleWorlds.Library.PathFaceRecord face) Frame: Vec2 SandBox.MapScene.GetNavigationMeshCenterPosition(PathFaceRecord face) (IL Offset: 25) HarmonyIssue: False Method: virtual System.Void SandBox.SandBoxGameManager::DoLoadingForGameManager(TaleWorlds.Core.GameManagerLoadingSteps gameManagerLoadingStep, TaleWorlds.Core.GameManagerLoadingSteps& nextStep) Frame: void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep) (IL Offset: 320) HarmonyIssue: False - Installed Modules + Harmony (Bannerlord.Harmony, v2.3.0.174) + ButterLib (Bannerlord.ButterLib, v2.8.15.0) + UIExtenderEx (Bannerlord.UIExtenderEx, v2.8.0.0) + Mod Configuration Menu v5 (Bannerlord.MBOptionScreen, v5.9.1.0) + Native (Native, v1.2.8.0) + SandBox Core (SandBoxCore, v1.2.8.0) + CustomBattle (CustomBattle, v1.2.8.0) + Sandbox (Sandbox, v1.2.8.0) + StoryMode (StoryMode, v1.2.8.0) + (RBM) Realistic Battle Mod (RBM, v3.7.2.0) + Diplomacy (Bannerlord.Diplomacy, v1.2.9.0) + BannerKings (BannerKings, v1.3.0.0) + ExpandedArmouryBL (ExpandedArmouryBL, e1.5.2.0) + Historical Banner Icons (HistoricalBannerIcons, v1.2.8.0) + Ancient Civilization (Ancient Civilization, e1.5.2.0) + Open Source Armory (OpenSourceArmory, v1.17.0.0) + Open Source Armory: RBM Patch (OpenSourceArmoryRBM, v1.17.0.0) + Open Source Saddlery (OpenSourceSaddlery, v1.6.0.0) + Open Source Saddlery: RBM Patch (OpenSourceSaddleryRBM, v1.6.0.0) + Open Source Weaponry (OpenSourceWeaponry, v1.7.0.0) + Open Source Weaponry: RBM Patch (OpenSourceWeaponryRBM, v1.7.0.0) + BannerKings - Cultures Expanded (BannerKings.CulturesExpanded, v1.0.1.0)

PMA75 commented 8 months ago

Same thing happens here:

crashreport.zip

Helpful-Maniac commented 7 months ago

I'm not sure if you fixed the issue but in case you haven't or anyone else has the same issue you're on the wrong instal guide you need to use this one on the BKCE page. You will need to install the map asset pack. image_2024-02-22_215138242

von-rud commented 6 months ago

I experience the same thing... Any solution to this problem?

von-rud commented 6 months ago

I have even made a clean uninstalment of the game and reinstalled it along with all the mods. And I still suffer from the same problem.... ;-( To bad because I was really looking forward for this mod. That was only reason I reinstalled the game after not playing it for a couple of years.... Someone please help.

MaikolZuniga commented 3 months ago

Tengo el mismo problema 😢