骑马与砍杀中文站论坛

标题: 自立后被宣战就崩溃 [打印本页]

作者: xellosscao    时间: 2025-6-11 22:38
标题: 自立后被宣战就崩溃


- ReasonsSource: YiGu.ThreeKingdoms
Object reference not set to an instance of an object.

- Inner ExceptionSource: No module
No inner exception was thrown

- CallstacksProtip: Use a debugger like dnSpy orVisual 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 thrownOuter exception callstack:    at void YiGu.ThreeKingdoms.Modules.SpecialitySystem.CampaignBehaviors.TKVillagerCampaignBehavior.OnSettlementEntered(MobileParty mobileParty, Settlement settlement, Hero hero) in F:/YiGuThreeKingdomsCode/YiGu.ThreeKingdoms/Modules/SpecialitySystem/CampaignBehaviors/TKVillagerCampaignBehavior.cs:line 58   at void TaleWorlds.CampaignSystem.MbEvent.InvokeList(EventHandlerRec list, T1 t1, T2 t2, T3 t3)   at void TaleWorlds.CampaignSystem.CampaignEvents.OnSettlementEntered(MobileParty party, Settlement settlement, Hero hero)   at void TaleWorlds.CampaignSystem.CampaignEventDispatcher.OnSettlementEntered(MobileParty party, Settlement settlement, Hero hero)   at void TaleWorlds.CampaignSystem.Actions.EnterSettlementAction.ApplyInternal(Hero hero, MobileParty mobileParty, Settlement settlement, EnterSettlementDetail detail, object subject, bool isPlayerInvolved)   at void TaleWorlds.CampaignSystem.Actions.EnterSettlementAction.ApplyForParty(MobileParty mobileParty, Settlement settlement)   at void TaleWorlds.CampaignSystem.EncounterManager.StartSettlementEncounter(MobileParty attackerParty, Settlement settlement)   at void TaleWorlds.CampaignSystem.Settlements.Settlement.OnPartyInteraction(MobileParty mobileParty)   at void TaleWorlds.CampaignSystem.EncounterManager.HandleEncounterForMobileParty(MobileParty mobileParty, float dt)   at void TaleWorlds.CampaignSystem.EncounterManager.HandleEncounters(float dt)   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_Patch2(Module this, float dt)

自立后被宣战就崩溃,报这个错,空引用了, 有人知道怎么解决吗

作者: 冈本正柿    时间: 2025-6-16 13:43
前期不要和三个国家交战,后期不要和没有城镇的国家交战,否则就会这样




欢迎光临 骑马与砍杀中文站论坛 (https://bbs.mountblade.com.cn/) Powered by Discuz! X3.4