是人吗?
2025/11/2672 浏览
有懂代码的吗?这种怎么解决?KeyNotFoundException
The given key was not present in the dictionary.
ShelfUtil.GetMyGoodsId (System.Int32 shelfId) (at <00000000000000000000000000000000>:0)
ShelfUtil.GetMyGoodsRow (System.Int32 shelfId) (at <00000000000000000000000000000000>:0)
CommodityExchangeUtils.CanExchangeItem (System.Int32 targetItemId, System.Int32 needCount) (at <00000000000000000000000000000000>:0)
GachaManager+<GachaCheck>d__6.MoveNext () (at <00000000000000000000000000000000>:0)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder`1[T].Start[TStateMachine] (TStateMachine& stateMachine) (at <00000000000000000000000000000000>:0)
GachaManager.GachaCheck (System.Int32 gachaPoolId, System.Int32 count) (at <00000000000000000000000000000000>:0)
GachaManager+<GachaAsync>d__5.MoveNext () (at <00000000000000000000000000000000>:0)
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskMethodBuilder`1[T].Start[TStateMachine] (TStateMachine& stateMachine) (at <00000000000000000000000000000000>:0)
GachaManager.GachaAsync (System.Int32 gachaPoolId, System.Int32 count) (at <00000000000000000000000000000000>:0)
GachaManager+<GachaInBackground>d__7.MoveNext () (at <00000000000000000000000000000000>:0)
System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) (at <00000000000000000000000000000000>:0)
GachaManager.GachaInBackground (System.Int32 gachaPoolId, System.Int32 count) (at <00000000000000000000000000000000>:0)
GachaNormalPage.StartGacha (System.Int32 number) (at <00000000000000000000000000000000>:0)
GachaNormalPage.<Awake>b__75_0 () (at <00000000000000000000000000000000>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityAction.Invoke () (at <00000000000000000000000000000000>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <00000000000000000000000000000000>:0)
UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1].Invoke (T1 handler,



