- 好友
- 0
- 在线时间
- 1 小时
- 最后登录
- 2024-10-1
随仆
- UID
- 3160708
- 第纳尔
- 190
- 精华
- 0
- 互助
- 0
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2020-4-8
鲜花( 0) 鸡蛋( 0)
|
发表于 2022-5-18 04:07:29
|
显示全部楼层
打阿萨玻璃的时候进入战场会跳出报错,排了一会儿是POC Color Randomizer mod的原因,关了就好了(但是会很丑)
- Exception
Exception information
Type: System.Reflection.TargetInvocationException
Message: Exception has been thrown by the target of an invocation.
Source: mscorlib
CallStack:
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 TaleWorlds.GauntletUI.Widget.EventFired(String eventName, Object[] args)
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)
Inner Exception information
Type: System.ArgumentOutOfRangeException
Message: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index
Source: mscorlib
CallStack:
at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
at TaleWorlds.MountAndBlade.View.BannerVisual.ConvertToMultiMesh()
at TaleWorlds.MountAndBlade.View.TableauCacheManager.BeginCreateBannerTexture(BannerCode bannerCode, Action`1 setAction, Boolean isTableau, Boolean isLarge)
at TaleWorlds.MountAndBlade.View.BannerVisual.GetTableauTextureSmall(Action`1 setAction)
at TaleWorlds.MountAndBlade.View.ItemCollectionElementViewExtensions.GetTableauMaterial(ItemObject item, Banner banner)
at TaleWorlds.MountAndBlade.View.ItemCollectionElementViewExtensions.OnGetWeaponData(WeaponData& weaponData, MissionWeapon weapon, Boolean isFemale, Banner banner, Boolean needBatchedVersion)
at TaleWorlds.MountAndBlade.MissionWeapon.GetWeaponData(Boolean needBatchedVersionForMeshes)
at TaleWorlds.MountAndBlade.Agent.EquipItemsFromSpawnEquipment_Patch1(Agent this)
at TaleWorlds.MountAndBlade.Mission.BuildAgent(Agent agent, AgentBuildData agentBuildData)
at TaleWorlds.MountAndBlade.Mission.SpawnAgent(AgentBuildData agentBuildData, Boolean spawnFromAgentVisuals, Int32 formationTroopCount)
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, Nullable`1 initialPosition, Nullable`1 initialDirection, String specialActionSet)
at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.MissionSide.SpawnTroops(Int32 number, Boolean isReinforcement, Boolean enforceSpawningOnInitialPoint)
at TaleWorlds.MountAndBlade.MissionAgentSpawnLogic.CheckInitialSpawns()
at TaleWorlds.MountAndBlade.DeploymentMissionController.SetupTeamsOfSide(BattleSideEnum side)
at TaleWorlds.MountAndBlade.DeploymentMissionController.OnPlayerDeploymentFinish()
at TaleWorlds.MountAndBlade.Missions.Handlers.BattleDeploymentHandler.FinishDeployment()
at TaleWorlds.MountAndBlade.GauntletUI.MissionOrderOfBattleGauntletUIHandler.OnBeginMission()
at TaleWorlds.MountAndBlade.ViewModelCollection.OrderOfBattle.OrderOfBattleVM.ExecuteBeginMission()
- Involved Modules
Bannerlord.Harmony
Method: static System.Void System.ThrowHelper::ThrowArgumentOutOfRangeException(System.ExceptionArgument argument, System.ExceptionResource resource)
Frame: ThrowArgumentOutOfRangeException at offset 77 in file:line:column :0:0
Method: static System.Object System.RuntimeMethodHandle::InvokeMethod(System.Object target, System.Object[] arguments, System.Signature sig, System.Boolean constructor)
Frame: InvokeMethod at offset 0 in file:line:column :0:0
Method: System.Object System.Reflection.RuntimeMethodInfo::UnsafeInvokeInternal(System.Object obj, System.Object[] parameters, System.Object[] arguments)
Frame: UnsafeInvokeInternal at offset 269 in file:line:column :0:0
Method: virtual System.Object System.Reflection.RuntimeMethodInfo::Invoke(System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
Frame: Invoke at offset 146 in file:line:column :0:0
Native
Method: TaleWorlds.Engine.MetaMesh TaleWorlds.MountAndBlade.View.BannerVisual::ConvertToMultiMesh()
Frame: ConvertToMultiMesh at offset 138 in file:line:column :0:0
Method: TaleWorlds.Engine.Texture TaleWorlds.MountAndBlade.View.TableauCacheManager::BeginCreateBannerTexture(TaleWorlds.Core.BannerCode bannerCode, System.Action`1 setAction, System.Boolean isTableau, System.Boolean isLarge)
Frame: BeginCreateBannerTexture at offset 431 in file:line:column :0:0
Method: TaleWorlds.Engine.Texture TaleWorlds.MountAndBlade.View.BannerVisual::GetTableauTextureSmall(System.Action`1 setAction)
Frame: GetTableauTextureSmall at offset 59 in file:line:column :0:0
Method: static TaleWorlds.Engine.Material TaleWorlds.MountAndBlade.View.ItemCollectionElementViewExtensions::GetTableauMaterial(TaleWorlds.Core.ItemObject item, TaleWorlds.Core.Banner banner)
Frame: GetTableauMaterial at offset 889 in file:line:column :0:0
Method: static System.Void TaleWorlds.MountAndBlade.View.ItemCollectionElementViewExtensions::OnGetWeaponData(TaleWorlds.MountAndBlade.WeaponData& weaponData, TaleWorlds.MountAndBlade.MissionWeapon weapon, System.Boolean isFemale, TaleWorlds.Core.Banner banner, System.Boolean needBatchedVersion)
Frame: OnGetWeaponData at offset 199 in file:line:column :0:0
Method: System.Void TaleWorlds.MountAndBlade.GauntletUI.MissionOrderOfBattleGauntletUIHandler::OnBeginMission()
Frame: OnBeginMission at offset 31 in file:line:column :0:0
PocColor
Method: static System.Boolean PocColor.PocColorModAgentEquipItemsFromSpawnEquipment::Prefix(TaleWorlds.MountAndBlade.Agent& __instance)
Frame: TaleWorlds.MountAndBlade.Agent.EquipItemsFromSpawnEquipment_Patch1 at offset 429 in file:line:column :0:0
Bannerlord.MBOptionScreen
Method: static System.Boolean MCM.UI.Patches.ViewModelPatch::ExecuteCommandPatch(System.Object __instance, System.String commandName, System.Object[] parameters)
Frame: TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1 at offset 610 in file:line:column :0:0
Bannerlord.UIExtenderEx
Method: static System.Collections.Generic.IEnumerable`1 Bannerlord.UIExtenderEx.Patches.ViewModelPatch::ViewModel_ExecuteCommand_Transpiler(System.Collections.Generic.IEnumerable`1 instructions, System.Reflection.Emit.ILGenerator ilGenerator)
Frame: TaleWorlds.Library.ViewModel.ExecuteCommand_Patch1 at offset 610 in file:line:column :0:0 |
|