463139657 发表于 2019-2-14 10:09

大神帮忙看看这个报错是什么

过季节转到超不多该保存的时候就报错这个看不懂求解答


ArgumentException: An item with the same key has already been added. Key: 312
at System.Collections.Generic.Dictionary`2.TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) in <d7ac571ca2d04b2f981d0d886fa067cf>:0
at System.Collections.Generic.Dictionary`2.Add (TKey key, TValue value) in <d7ac571ca2d04b2f981d0d886fa067cf>:0
at DateFile.AddSocial (System.Int32 actorId1, System.Int32 actorId2, System.Int32 scoialTyp) in <a326024b8a19424a86e0cb9ffa94bc75>:0
at PeopleLifeAI.AISetOtherLove (System.Int32 mianActorId, System.Int32 actorId, System.Int32 loveId, System.Int32 partId, System.Int32 placeId) in <a326024b8a19424a86e0cb9ffa94bc75>:0
at PeopleLifeAI.DoTrunAIChange (System.Int32 actorId, System.Int32 partId, System.Int32 placeId, System.Int32 mianActorId, System.Int32 worldId, System.Collections.Generic.Dictionary`2 mianActorItem) in <a326024b8a19424a86e0cb9ffa94bc75>:0
at PeopleLifeAI+<DoPeopleTrunChange>d__31.MoveNext () in <a326024b8a19424a86e0cb9ffa94bc75>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) in <945c24c342914372bc599495ca1ade0d>:0

(Filename: <d7ac571ca2d04b2f981d0d886fa067cf> Line: 0)


页: [1]
查看完整版本: 大神帮忙看看这个报错是什么