- 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)
自立后被宣战就崩溃,报这个错,空引用了, 有人知道怎么解决吗
|