骑马与砍杀中文站论坛

标题: 求助各位大佬,游戏报错 [打印本页]

作者: ikaros1314    时间: 2022-6-19 21:09
标题: 求助各位大佬,游戏报错
游戏加载存档后就会报错,有时候开战和围城也会包同样的错误,内容如下:
- 原因资料来源:TaleWorlds.CampaignSystem
对象引用未设置为对象的实例。

- 内部异常来源: 无模块
未引发内部异常

- 调用堆栈
专业提示: 使用调试器(如 dnSpy 或 Visual Studio)通过逐行单步执行程序来跟踪错误源。您可以在附加dnSpy的情况下重新启动。
内部异常调用堆栈:外部异常调用堆栈:No inner exception was thrown   at TaleWorlds.CampaignSystem.GameComponents.DefaultSettlementValueModel.CalculateSettlementValueForEnemyHero(Settlement settlement, Hero hero)   at TaleWorlds.CampaignSystem.GameComponents.DefaultTargetScoreCalculatingModel.GetTargetScoreForFaction(Settlement targetSettlement, ArmyTypes missionType, MobileParty mobileParty, Single ourStrength, Single& powerScore, Single& distanceScore, Single& settlementImportanceScore, Int32 numberOfEnemyFactionSettlements, Single totalEnemyMobilePartyStrength)   at StoryMode.GameComponents.StoryModeTargetScoreCalculatingModel.GetTargetScoreForFaction(Settlement targetSettlement, ArmyTypes missionType, MobileParty mobileParty, Single ourStrength, Int32 numberOfEnemyFactionSettlements, Single totalEnemyMobilePartyStrength)   at TaleWorlds.CampaignSystem.CampaignBehaviors.AiBehaviors.AiMilitaryBehavior.CalculateMilitaryBehaviorForSettlement(Settlement settlement, ArmyTypes missionType, PartyThinkParams p, Single ourStrength, Single partySizeScore, Int32 numberOfEnemyFactionSettlements, Single totalEnemyMobilePartyStrength, Single newArmyCreatingAdditionalConstant)   at TaleWorlds.CampaignSystem.CampaignBehaviors.AiBehaviors.AiMilitaryBehavior.FindBestTargetAndItsValueForFaction(ArmyTypes missionType, PartyThinkParams p, Single ourStrength, Single newArmyCreatingAdditionalConstant)   at TaleWorlds.CampaignSystem.CampaignBehaviors.AiBehaviors.AiMilitaryBehavior.AiHourlyTick(MobileParty mobileParty, PartyThinkParams p)   at TaleWorlds.CampaignSystem.MbEvent`2.InvokeList(EventHandlerRec`2 list, T1 t1, T2 t2)   at TaleWorlds.CampaignSystem.CampaignEvents.AiHourlyTick(MobileParty party, PartyThinkParams partyThinkParams)   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.AiHourlyTick(MobileParty party, PartyThinkParams partyThinkParams)   at TaleWorlds.CampaignSystem.CampaignBehaviors.AiBehaviors.AiPartyThinkBehavior.PartyHourlyAiTick(MobileParty mobileParty)   at TaleWorlds.CampaignSystem.MbEvent`1.InvokeList(EventHandlerRec`1 list, T t)   at TaleWorlds.CampaignSystem.CampaignEvents.TickPartialHourlyAi(MobileParty party)   at TaleWorlds.CampaignSystem.CampaignEventDispatcher.TickPartialHourlyAi(MobileParty party)   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.PeriodicTicker`1.PeriodicTickSome(Double timeUnitsElapsed)   at TaleWorlds.CampaignSystem.CampaignPeriodicEventManager.TickPartialHourlyAi()   at TaleWorlds.CampaignSystem.Campaign.Tick()   at TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(Single dt)   at TaleWorlds.CampaignSystem.GameState.MapState.OnTick(Single dt)   at TaleWorlds.Core.GameStateManager.OnTick(Single dt)   at TaleWorlds.Core.Game.OnTick(Single dt)   at TaleWorlds.Core.GameManagerBase.OnTick(Single dt)   at TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch10(Module this, Single dt)



作者: -Shiranui    时间: 2022-6-19 23:32
文件调用缺失,一般检查完整性或者重下游戏就行(这些都是战役系统相关代码,说明丢文件了)
以及你下次报错时最好说明游戏版本方便排故
作者: 凌寒阡陌    时间: 2024-12-1 16:44
-Shiranui 发表于 2022-6-19 23:32
文件调用缺失,一般检查完整性或者重下游戏就行(这些都是战役系统相关代码,说明丢文件了)
以及你下次报 ...

重下也没用还是说TaleWorlds.CampaignSystem调用为空开新档也报错,不过不是TaleWorlds.CampaignSystem,是别的原因
作者: 凌寒阡陌    时间: 2024-12-1 16:45
-Shiranui 发表于 2022-6-19 23:32
文件调用缺失,一般检查完整性或者重下游戏就行(这些都是战役系统相关代码,说明丢文件了)
以及你下次报 ...

我的是1.2.8




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