在编写新的采集枪mod,原本折腾半天配方解锁功能是写完了,但是直接跟CATUI冲突了,我觉得我写的没问题啊,又没设计XUI文件的改动,只是新增了个解锁条目怎会如此呢?
2026-04-18T01:19:51 2152.023 ERR Unhandled exception in GetBindingValue. Binding name: CATUI_ItemUnlockLevel
2026-04-18T01:19:51 2152.024 ERR [XUi] Error while updating window group 'skills':
2026-04-18T01:19:51 2152.025 EXC Index was outside the bounds of the array.
at XUiC_SkillCraftingInfoEntryPatch.Prefix (System.String _bindingName, System.String& _value, System.Boolean& __result, XUiC_SkillCraftingInfoEntry __instance) [0x00132] in <cdcb308238b14c09b30d0ac41611cb3c>:0
at (wrapper dynamic-method) XUiC_SkillCraftingInfoEntry.DMD<System.Boolean XUiC_SkillCraftingInfoEntry:GetBindingValueInternal(System.String&, System.String)>(XUiC_SkillCraftingInfoEntry,string&,string)
at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.SyncProxy<System.Boolean XUiC_SkillCraftingInfoEntry:GetBindingValueInternal(System.String&, System.String)>(XUiC_SkillCraftingInfoEntry,string&,string)
at XUiController.GetBindingValue (System.String& _value, System.String _bindingName) [0x0001c] in <673cee7f1b1143818476bdf642f7434b>:0
at BindingItemStandard.GetValue (System.Boolean _forceAll) [0x00013] in <673cee7f1b1143818476bdf642f7434b>:0
at BindingInfo.RefreshValue (System.Boolean _forceAll) [0x0001a] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.RefreshBindings (System.Boolean _forceAll) [0x00010] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiC_SkillCraftingInfoEntry.Update (System.Single _dt) [0x0000f] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiC_InfoWindow.Update (System.Single _dt) [0x00000] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiC_SkillCraftingInfoWindow.Update (System.Single _dt) [0x00021] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiController.Update (System.Single _dt) [0x00084] in <673cee7f1b1143818476bdf642f7434b>:0
at XUiC_SkillWindowGroup.Update (System.Single _dt) [0x00000] in <673cee7f1b1143818476bdf642f7434b>:0
at (wrapper dynamic-method) XUi.DMD<System.Void XUi:OnUpdateDeltaTime(System.Single)>(XUi,single)
UnityEngine.StackTraceUtility:ExtractStringFromException(Object)
Log:Exception(Exception)
XUi:DMD<System.Void XUi:OnUpdateDeltaTime(System.Single)>(XUi, Single)
MonoMod.Utils.DynamicMethodDefinition:SyncProxy<System.Void XUi:OnUpdateDeltaTime(System.Single)>(XUi, Single)
XUiUpdater:DMD<System.Void XUiUpdater:Update()>()
MonoMod.Utils.DynamicMethodDefinition:SyncProxy<System.Void XUiUpdater:Update()>()
XUiUpdateHelper:LateUpdate()
这下看不懂了









鄂公网安备42011202002543号


