运行RPGdemo点击道具图标,直接报错
springlight opened this issue · comments
运行RPGdemo点击道具图标,直接报错
KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <695d1cc93cca45069c528c15c9fdd749>:0)
EGamePlay.Combat.AttributeComponent.GetNumeric (System.String attributeName) (at Assets/EGamePlay/Combat/Attribute/AttributeComponent.cs:47)
EquipmentComponent.AddItemData (EGamePlay.ItemData itemData) (at Assets/EGPsExamples/RpgExample/Scripts/EquipmentComponent.cs:34)
Hero+<>c__DisplayClass40_0.b__0 () (at Assets/EGPsExamples/RpgExample/MonoScripts/Hero.cs:126)
UnityEngine.Events.InvokableCall.Invoke () (at <9054c48fe492485bb63cc80f3d8fbba1>:0)
UnityEngine.Events.UnityEvent.Invoke () (at <9054c48fe492485bb63cc80f3d8fbba1>:0)