skaldman 发表于 2018-11-26 22:06

The given key was not present in the dictionary, 有咩有大佬看看是怎么回事

在救入魔了的上一代太吾的时候发生了这样的报错,有没有知道是怎么回事的?

KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2.get_Item (Int32 key) in /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:151
at BattleSystem.BattleEnd (Boolean actorWin, Int32 actorRun) in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\BattleSystem.cs:17395
at BattleSystem.UpdateActorHpSpBar (Int32 index, Boolean isActor, Boolean getWin, Boolean initialize) in <filename unknown>:0
at BattleSystem+<TimeAutoGo>c__Iterator0.MoveNext () in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\BookShopSystem.cs:136
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) in <filename unknown>:0

(Filename: /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs Line: 151)

页: [1]
查看完整版本: The given key was not present in the dictionary, 有咩有大佬看看是怎么回事