- 好友
- 0
- 在线时间
- 1 小时
- 最后登录
- 2023-2-19
扈从
- UID
- 3101628
- 第纳尔
- 624
- 精华
- 0
- 互助
- 1
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2019-9-3
鲜花( 1) 鸡蛋( 0)
|
发表于 2020-10-27 13:00:44
|
显示全部楼层
新测试出来的,进铁匠铺崩溃,提示如下:
- 具体原因
源自: mscorlib
Exception has been thrown by the target of an invocation.
- 内部错误
源自: BannerlordTweaks
无法将类型为“System.Collections.Generic.List`1[System.String]”的对象强制转换为类型“System.Collections.Generic.IEnumerable`1[TaleWorlds.Core.EquipmentElement]”。
- 调用堆栈
Protip: 使用调试工具类似 dnSpy or Visual studio 来追踪错误的源头, 一步一步排查程序 要有耐心.
内部错误堆栈:
at BannerlordTweaks.Patches.RefreshListPatch.Postfix(SmeltingVM __instance, ItemRoster ____playerItemRoster) in C:\Users\Administrator\source\repos\BannerlordTweaks\Patches\SmeltingVMPatches.cs:line 0
at TaleWorlds.CampaignSystem.ViewModelCollection.Craft.Smelting.SmeltingVM.RefreshList_Patch2(SmeltingVM this)
at TaleWorlds.CampaignSystem.ViewModelCollection.Craft.Smelting.SmeltingVM..ctor(Action updateYieldValuesAcion)
at TaleWorlds.CampaignSystem.ViewModelCollection.CraftingVM..ctor(Crafting crafting, Action onClose, Action resetCamera)
at SandBox.GauntletUI.CraftingGauntletScreen.OnCraftingLogicInitialized()
at TaleWorlds.CampaignSystem.CampaignCraftingManager.OpenCrafting(CraftingTemplate craftingTemplate, CraftingState oldState)
at TaleWorlds.CampaignSystem.GameMenus.GameMenuOption.RunConsequence(MenuContext menuContext)
外部错误堆栈:
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at TaleWorlds.Library.Common.InvokeWithLog(MethodInfo methodInfo, Object obj, Object[] args)
at TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1(ViewModel this, String commandName, Object[] parameters)
at TaleWorlds.GauntletUI.Data.GauntletView.OnCommand(String command, Object[] args)
at System.Action`3.Invoke(T1 arg1, T2 arg2, T3 arg3)
at TaleWorlds.GauntletUI.ButtonWidget.HandleClick()
at TaleWorlds.GauntletUI.ButtonWidget.OnMouseReleased()
at TaleWorlds.GauntletUI.EventManager.MouseUp()
at TaleWorlds.GauntletUI.UIContext.UpdateInput(InputType handleInputs)
at TaleWorlds.Engine.Screens.ScreenManager.Update()
at TaleWorlds.Engine.Screens.ScreenManager.Tick_Patch1(Single dt) |
|