Bannerlord has encountered a problem and will close itself.
This is a community Crash Report. Please save it and use it for reporting the error. Do not provide screenshots, provide the report!
Most likely this error was caused by a custom installed module.

If you were in the middle of something, the progress might be lost.


+ Exception

Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: Perfect Fire Arrows
CallStack:
  1. at Perfect_Fire_Arrows.ABL.OnAgentWieldedItemChange1()
  2. at System.Action.Invoke()
  3. at TaleWorlds.MountAndBlade.Agent.OnWieldedItemIndexChange(Boolean isOffHand, Boolean isWieldedInstantly, Boolean isWieldedOnSpawn)
  4. at TaleWorlds.MountAndBlade.Agent.WieldInitialWeapons(WeaponWieldActionType wieldActionType)
  5. at TaleWorlds.MountAndBlade.Mission.SpawnTroop(IAgentOriginBase troopOrigin, Boolean isPlayerSide, Boolean hasFormation, Boolean spawnWithHorse, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint, Int32 formationTroopCount, Int32 formationTroopIndex, Boolean isAlarmed, Boolean wieldInitialWeapons, Boolean forceDismounted, String specialActionSet, Nullable`1 initFrame)
  6. at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.MissionSide.SpawnTroops(Int32 number, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint)
  7. at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.BattleSizeSpawnTick()
  8. at TaleWorlds.MountAndBlade.Mission.OnTick(Single dt, Single realDt, Boolean updateCamera)
  9. at TaleWorlds.MountAndBlade.MissionState.TickMission(Single realDt)
  10. at TaleWorlds.MountAndBlade.MissionState.OnTick(Single realDt)
  11. at TaleWorlds.Core.GameStateManager.OnTick(Single dt)
  12. at TaleWorlds.Core.Game.OnTick(Single dt)
  13. at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)
  14. at TaleWorlds.MountAndBlade.Module.OnApplicationTick(Single dt)
  15. at TaleWorlds.DotNet.Managed.ApplicationTick_Patch1(Single dt)

+ Involved Modules

  • PerfectFireArrows
    • Method: System.Void Perfect_Fire_Arrows.ABL::OnAgentWieldedItemChange1()
      Frame: OnAgentWieldedItemChange1 at offset 1317 in file:line:column :0:0

+ Installed Modules

  • + Harmony (Bannerlord.Harmony, v2.1.1.65)
  • + ButterLib (Bannerlord.ButterLib, v1.0.28.0)
  • + UIExtenderEx (Bannerlord.UIExtenderEx, v2.1.8.0)
  • + Native (Native, e1.6.1.0)
  • + SandBox Core (SandBoxCore, e1.6.1.0)
  • + CustomBattle (CustomBattle, e1.6.1.0)
  • + Sandbox (Sandbox, e1.6.1.0)
  • + StoryMode (StoryMode, e1.6.1.0)
  • + BannerLib (BannerLib, v0.0.9.0)
  • + Perfect Fire Arrows (PerfectFireArrows, e1.6.1.0)
  • + Raise your Banner (Raiseyourbanner, e1.6.1.0)
  • + Raise your Torch (Raiseyourtorch, e1.6.1.0)
  • + Role XP for Party Leader (PartyLeaderRoleXP, v1.1.0.0)
  • + zCulturedStart (zCulturedStart, v1.1.26.0)

+ Assemblies

+ Harmony Patches

  • TaleWorlds.MountAndBlade.Module.FinalizeSubModules
    • Postfixes
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchFinalizeSubModulesPostfix;

  • TaleWorlds.MountAndBlade.Module.SetInitialModuleScreenAsRootScreen
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.ModulePatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameStart
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.MountAndBlade.MBGameManager.OnGameEnd
    • Transpilers
      • Owner: Bannerlord.ButterLib.MBSubModuleBaseEx; Namespace: Bannerlord.ButterLib.Implementation.MBSubModuleBaseExtended.Patches.MBGameManagerPatchTranspiler;

  • TaleWorlds.SaveSystem.TypeExtensions.IsContainer
    • Prefixes
      • Owner: Bannerlord.ButterLib.SaveSystem; Namespace: Bannerlord.ButterLib.Implementation.SaveSystem.Patches.TypeExtensionsPatchIsContainerPrefix;

  • StoryMode.Behaviors.Quests.FirstPhase.BannerInvestigationQuestBehavior+BannerInvestigationQuest.InitializeNotablesToTalkList
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSTalkWithNoblePatchNoblePatch;

  • TaleWorlds.CampaignSystem.ViewModelCollection.BannerEditorVM.SetClanRelatedRules
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSPatchColorCreatorPrefix;

  • StoryMode.StoryModeSubModule.AddBehaviors
    • Postfixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSBehaviourPatchPostfix;

  • StoryMode.CharacterCreationContent.StoryModeCharacterCreationContent.OnInitialized
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSCharCreationPatchPrefix;

  • StoryMode.MainStoryLine.CompleteTutorialPhase
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSPatchDisableTutorialPrefix;

  • StoryMode.CharacterCreationContent.StoryModeCharacterCreationContent.EscapeOnInit
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CSEscapePatchPrefix;

  • StoryMode.Behaviors.TrainingFieldCampaignBehavior.OnCharacterCreationIsOver
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.CulturedStartLocPatchPrefix;

  • TaleWorlds.CampaignSystem.CharacterCreationContent.SandboxCharacterCreationContent.OnCharacterCreationFinalized
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.Patches.CSPatchSandboxPrefix;

  • TaleWorlds.CampaignSystem.CharacterCreationContent.SandboxCharacterCreationContent.StartingAgeOnInit
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.Patches.CSPatchSandboxAddMenusPrefix;

  • TaleWorlds.CampaignSystem.ViewModelCollection.BannerEditorVM.ExecuteDone
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.Patches.CSPatchBannerVMDonePrefix;

  • StoryMode.Behaviors.FirstPhaseCampaignBehavior.OnSettlementLeft
    • Prefixes
      • Owner: mod.bannerlord.CS; Namespace: zCulturedStart.Patches.CSPatchOnSettleLeftPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnGameLoaded
    • Prefixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnGameLoadedPrefix;

  • TaleWorlds.CampaignSystem.SandBox.CampaignBehaviors.CampaignBehaviorManager.OnBeforeSave
    • Postfixes
      • Owner: Bannerlord.ButterLib.ObjectSystem; Namespace: Bannerlord.ButterLib.Implementation.ObjectSystem.Patches.CampaignBehaviorManagerPatchOnBeforeSavePostfix;

  • TaleWorlds.CampaignSystem.Hero.AddSkillXp
    • Postfixes
      • Owner: mod.bannerlord.PartyLeaderRoleXP; Namespace: PartyLeaderRoleXP.Patches.AddPartyLeaderXpPatchPostfix;