3DMGAME 3DM首页 新闻中心 前瞻 | 评测 游戏库 热门 | 最新 攻略中心 攻略 | 秘籍 下载中心 游戏 | 汉化 购买正版 论坛

注册 登录

QQ登录

只需一步,快速开始

查看: 2476|回复: 2
打印 上一主题 下一主题

[求助] 时节变换卡住了,有dalao能看懂这个代码吗

[复制链接]

2

主题

181

帖子

166

积分

中级玩家

Rank: 3Rank: 3

贡献度
1
金元
1624
积分
166
精华
0
注册时间
2012-3-22
跳转到指定楼层
主题
发表于 2018-10-7 00:00 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
出来一串字符,ArgumentException: key already present in dictionary
Parameter name: key

打开log文件,是这样的
Info: initialize DeadTaiwuManager.
Info: full scan on grave done, found 0 dead taiwus
ArgumentException: key already present in dictionary
Parameter name: key
  at System.Collections.Generic.SortedDictionary`2[System.Int32,System.Collections.Generic.List`1[System.Int32]].Add (Int32 key, System.Collections.Generic.List`1 value) [0x00041] in /Users/builduser/buildslave/mono/build/mcs/class/System/System.Collections.Generic/SortedDictionary.cs:174
  at DateFile.AddSocial (Int32 actorId1, Int32 actorId2, Int32 scoialTyp) [0x0002e] in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\GongFaTreeWindow.cs:57
  at PeopleLifeAI.DoTrunAIChange (Int32 actorId, Int32 partId, Int32 placeId, Int32 mianActorId, Int32 worldId, System.Collections.Generic.Dictionary`2 mianActorItem) [0x00056] in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\StorySystem.cs:327
  at PeopleLifeAI+<DoPeopleTrunChange>c__Iterator0.MoveNext () [0x00442] in I:\Scroll Of TaiWu\Scroll Of TaiWu 1.0\Assets\Scripts\StorySystem.cs:1588
  at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0

(Filename: /Users/builduser/buildslave/mono/build/mcs/class/System/System.Collections.Generic/SortedDictionary.cs Line: 174)

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|3DMGAME ( 京ICP备14006952号-1  沪公网安备 31011202006753号

GMT+8, 2026-3-19 08:06 , Processed in 0.025176 second(s), 15 queries , Memcached On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表