Modded Crashing after starting new game in sandbox

Users who are viewing this thread

Version number
v1.0.2
Branch
Beta
Modded/unmodded
Yes, I used mods.
Summary: I can't start a new game in sandbox. I already tried playing without mods to check if there was an installation error but it worked without mods.
How to Reproduce: After clicking the "Sandbox" in Main menu, it will go to the loading screen and after a few seconds. It crashes.
Have you used cheats and if so which: Other than mods, no other cheats.
Scene Name (if related):
Media (Screenshots & Video):
Computer Specs:
OS: Windows 10 Home 64-bit
GPU: NVIDIA GeForce RTX 2080 Super with Max-Q Design
GPU Driver Version: 31.0.15.2225
CPU: Intel Core i7-10875H
RAM: 16GB
Motherboard:
Storage Device (HDD/SSD): 1TB SSD

Below is the crash report. Please help me. Thank you.

- Exception

Exception information
Type: System.InvalidOperationException
Message: The parent is missing.
Source: System.Xml.Linq
CallStack:
  1. at void System.Xml.Linq.XNode.Remove()
  2. at bool RBM.XmlLoadingPatches+MergeTwoXmlsPatch.Prefix(ref XmlDocument xmlDocument1, ref XmlDocument xmlDocument2, ref XmlDocument __result) in D:/SteamLibrary/steamapps/common/Mount & Blade II Bannerlord/Modules/RealisticBattleProject/RBM/XmlLoadingPatches.cs:line 137
  3. at XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.MergeTwoXmls_Patch1(XmlDocument xmlDocument1, XmlDocument xmlDocument2)
  4. at XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.CreateMergedXmlFile(List> toBeMerged, List xsltList, bool skipValidation)
  5. at XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.GetMergedXmlForManaged(string id, bool skipValidation, bool ignoreGameTypeInclusionCheck, string gameType)
  6. at void TaleWorlds.ObjectSystem.MBObjectManager.LoadXML(string id, bool isDevelopment, string gameType, bool skipXmlFilterForEditor)
  7. at void TaleWorlds.Core.MBObjectManagerExtensions.LoadXML(MBObjectManager objectManager, string id, bool skipXmlFilterForEditor)
  8. at void TaleWorlds.CampaignSystem.Campaign.InitializeDefaultCampaignObjects()
  9. at void TaleWorlds.CampaignSystem.Campaign.OnNewCampaignStart()
  10. at void TaleWorlds.CampaignSystem.Campaign.OnInitialize()
  11. at void TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState)
  12. at bool TaleWorlds.Core.GameType.DoLoadingForGameType()
  13. at void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep)
  14. at bool TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager()
  15. at void TaleWorlds.MountAndBlade.GameLoadingState.OnTick(float dt)
  16. at void TaleWorlds.Core.GameStateManager.OnTick(float dt)
  17. at void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, float dt)

- Enhanced Stacktrace

  • Frame: void System.Xml.Linq.XNode.Remove() (IL Offset: 23)
    • Module: UNKNOWN
      Method: System.Void System.Xml.Linq.XNode::Remove()
      HarmonyIssue: False
  • Frame: bool RBM.XmlLoadingPatches+MergeTwoXmlsPatch.Prefix(ref XmlDocument xmlDocument1, ref XmlDocument xmlDocument2, ref XmlDocument __result) (IL Offset: 1863)
    • Module: RBM
      Method: static System.Boolean RBM.MergeTwoXmlsPatch::razz:refix(System.Xml.XmlDocument& xmlDocument1, System.Xml.XmlDocument& xmlDocument2, System.Xml.XmlDocument& __result)
      HarmonyIssue: False
  • Frame: XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.MergeTwoXmls_Patch1(XmlDocument xmlDocument1, XmlDocument xmlDocument2) (IL Offset: -1)
    • Module: RBM
      Method: static System.Boolean RBM.MergeTwoXmlsPatch::razz:refix(System.Xml.XmlDocument& xmlDocument1, System.Xml.XmlDocument& xmlDocument2, System.Xml.XmlDocument& __result)
      HarmonyIssue: False
    • Module: UNKNOWN
      Method: static System.Xml.XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.MergeTwoXmls_Patch1(System.Xml.XmlDocument xmlDocument1, System.Xml.XmlDocument xmlDocument2)
      HarmonyIssue: False
    • Module: UNKNOWN
      Method: static System.Xml.XmlDocument TaleWorlds.ObjectSystem.MBObjectManager::MergeTwoXmls(System.Xml.XmlDocument xmlDocument1, System.Xml.XmlDocument xmlDocument2)
      HarmonyIssue: False
  • Frame: XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.CreateMergedXmlFile(List> toBeMerged, List xsltList, bool skipValidation) (IL Offset: 0)
    • Module: UNKNOWN
      Method: static System.Xml.XmlDocument TaleWorlds.ObjectSystem.MBObjectManager::CreateMergedXmlFile(System.Collections.Generic.List`1> toBeMerged, System.Collections.Generic.List`1 xsltList, System.Boolean skipValidation)
      HarmonyIssue: False
  • Frame: XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.GetMergedXmlForManaged(string id, bool skipValidation, bool ignoreGameTypeInclusionCheck, string gameType) (IL Offset: 461)
    • Module: UNKNOWN
      Method: static System.Xml.XmlDocument TaleWorlds.ObjectSystem.MBObjectManager::GetMergedXmlForManaged(System.String id, System.Boolean skipValidation, System.Boolean ignoreGameTypeInclusionCheck, System.String gameType)
      HarmonyIssue: False
  • Frame: void TaleWorlds.ObjectSystem.MBObjectManager.LoadXML(string id, bool isDevelopment, string gameType, bool skipXmlFilterForEditor) (IL Offset: 5)
    • Module: UNKNOWN
      Method: System.Void TaleWorlds.ObjectSystem.MBObjectManager::LoadXML(System.String id, System.Boolean isDevelopment, System.String gameType, System.Boolean skipXmlFilterForEditor)
      HarmonyIssue: False
  • Frame: void TaleWorlds.Core.MBObjectManagerExtensions.LoadXML(MBObjectManager objectManager, string id, bool skipXmlFilterForEditor) (IL Offset: 56)
    • Module: UNKNOWN
      Method: static System.Void TaleWorlds.Core.MBObjectManagerExtensions::LoadXML(TaleWorlds.ObjectSystem.MBObjectManager objectManager, System.String id, System.Boolean skipXmlFilterForEditor)
      HarmonyIssue: False
  • Frame: void TaleWorlds.CampaignSystem.Campaign.InitializeDefaultCampaignObjects() (IL Offset: 61)
    • Module: UNKNOWN
      Method: System.Void TaleWorlds.CampaignSystem.Campaign::InitializeDefaultCampaignObjects()
      HarmonyIssue: False
  • Frame: void TaleWorlds.CampaignSystem.Campaign.OnNewCampaignStart() (IL Offset: 22)
    • Module: UNKNOWN
      Method: System.Void TaleWorlds.CampaignSystem.Campaign::OnNewCampaignStart()
      HarmonyIssue: False
  • Frame: void TaleWorlds.CampaignSystem.Campaign.OnInitialize() (IL Offset: 329)
    • Module: UNKNOWN
      Method: virtual System.Void TaleWorlds.CampaignSystem.Campaign::OnInitialize()
      HarmonyIssue: False
  • Frame: void TaleWorlds.CampaignSystem.Campaign.DoLoadingForGameType(GameTypeLoadingStates gameTypeLoadingState, out GameTypeLoadingStates nextState) (IL Offset: 37)
    • Module: UNKNOWN
      Method: virtual System.Void TaleWorlds.CampaignSystem.Campaign::grin:oLoadingForGameType(TaleWorlds.Core.GameTypeLoadingStates gameTypeLoadingState, TaleWorlds.Core.GameTypeLoadingStates& nextState)
      HarmonyIssue: False
  • Frame: bool TaleWorlds.Core.GameType.DoLoadingForGameType() (IL Offset: 44)
    • Module: UNKNOWN
      Method: System.Boolean TaleWorlds.Core.GameType::grin:oLoadingForGameType()
      HarmonyIssue: False
  • Frame: void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep) (IL Offset: 245)
    • Module: Sandbox
      Method: virtual System.Void SandBox.SandBoxGameManager::grin:oLoadingForGameManager(TaleWorlds.Core.GameManagerLoadingSteps gameManagerLoadingStep, TaleWorlds.Core.GameManagerLoadingSteps& nextStep)
      HarmonyIssue: False
  • Frame: bool TaleWorlds.Core.GameManagerBase.DoLoadingForGameManager() (IL Offset: 162)
    • Module: UNKNOWN
      Method: System.Boolean TaleWorlds.Core.GameManagerBase::grin:oLoadingForGameManager()
      HarmonyIssue: False
  • Frame: void TaleWorlds.MountAndBlade.GameLoadingState.OnTick(float dt) (IL Offset: 15)
    • Module: UNKNOWN
      Method: virtual System.Void TaleWorlds.MountAndBlade.GameLoadingState::OnTick(System.Single dt)
      HarmonyIssue: False
  • Frame: void TaleWorlds.Core.GameStateManager.OnTick(float dt) (IL Offset: 47)
    • Module: UNKNOWN
      Method: System.Void TaleWorlds.Core.GameStateManager::OnTick(System.Single dt)
      HarmonyIssue: False
  • Frame: void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, float dt) (IL Offset: -1)
    • Module: BetterExceptionWindow
      Method: static System.Exception BetterExceptionWindow.OnApplicationTickPatch::Finalizer(System.Exception __exception)
      HarmonyIssue: False
    • Module: UNKNOWN
      Method: static System.Void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(TaleWorlds.MountAndBlade.Module this, System.Single dt)
      HarmonyIssue: False
    • Module: UNKNOWN
      Method: System.Void TaleWorlds.MountAndBlade.Module::OnApplicationTick(System.Single dt)
      HarmonyIssue: False

- Involved Modules

  • RBM
    • Method: static System.Boolean RBM.MergeTwoXmlsPatch::razz:refix(System.Xml.XmlDocument& xmlDocument1, System.Xml.XmlDocument& xmlDocument2, System.Xml.XmlDocument& __result)
      Frame: bool RBM.XmlLoadingPatches+MergeTwoXmlsPatch.Prefix(ref XmlDocument xmlDocument1, ref XmlDocument xmlDocument2, ref XmlDocument __result) (IL Offset: 1863)
      HarmonyIssue: False
    • Method: static System.Boolean RBM.MergeTwoXmlsPatch::razz:refix(System.Xml.XmlDocument& xmlDocument1, System.Xml.XmlDocument& xmlDocument2, System.Xml.XmlDocument& __result)
      Frame: XmlDocument TaleWorlds.ObjectSystem.MBObjectManager.MergeTwoXmls_Patch1(XmlDocument xmlDocument1, XmlDocument xmlDocument2) (IL Offset: -1)
      HarmonyIssue: False
  • Sandbox
    • Method: virtual System.Void SandBox.SandBoxGameManager::grin:oLoadingForGameManager(TaleWorlds.Core.GameManagerLoadingSteps gameManagerLoadingStep, TaleWorlds.Core.GameManagerLoadingSteps& nextStep)
      Frame: void SandBox.SandBoxGameManager.DoLoadingForGameManager(GameManagerLoadingSteps gameManagerLoadingStep, out GameManagerLoadingSteps nextStep) (IL Offset: 245)
      HarmonyIssue: False
  • BetterExceptionWindow
    • Method: static System.Exception BetterExceptionWindow.OnApplicationTickPatch::Finalizer(System.Exception __exception)
      Frame: void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch1(Module this, float dt) (IL Offset: -1)
      HarmonyIssue: False

- Installed Modules

 
Did you try a clean install with delete the bannerlord files in the document folder as well?

If any of those mod have altered any of the native files then disable them from the launcher is not enough.
 
Hey, we do not offer support for the mods or modded games. Can you try to reproduce the issue on a new campaign after manually removing all the mod files and verifying the integrity of the game files. If the issue is persistent on a new, unmodded campaign please let me know.
 
Back
Top Bottom