KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <e1319b7195c343e79b385cd3aa43f5dc>:0
at DateFile.GetActorName (System.Int32 id, System.Boolean realName, System.Boolean baseName) [0x000e3] in <0ff590b80e3d4478b012814dbcd6554c>:0
at GuiltyNature.RapedEvent+GuiltyNature_DoTrunAIChange_Patch.Postfix (PeopleLifeAI __instance, System.Int32 actorId) [0x000a8] in <27f5ba867dc5482b8a0d4558c27f9019>:0
at (wrapper dynamic-method) PeopleLifeAI.DoTrunAIChange_Patch2(object,int,int,int,int,bool,int,System.Collections.Generic.Dictionary`2<int, System.Collections.Generic.List`1<int>>,int[],int[])
at PeopleLifeAI.UpdateTileCharsBehavior (System.Int32 mapId, System.Int32 tileId, System.Boolean isTaiwuAtThisTile, System.Collections.Generic.Dictionary`2[TKey,TValue] righteousInfo, PeopleLifeAI+DisasterInfo disasterInfo, System.Int32 worldId, System.Int32 mainActorId, System.Collections.Generic.Dictionary`2[TKey,TValue] mainActorItems, System.Random random) [0x000cb] in <0ff590b80e3d4478b012814dbcd6554c>:0
at PeopleLifeAI+<DoInterludeForEachMap>d__14.MoveNext () [0x00351] in <0ff590b80e3d4478b012814dbcd6554c>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00027] in <ba62fd13111e45818db654d4800999fe>:0
(Filename: <e1319b7195c343e79b385cd3aa43f5dc> Line: 0)
我刚刚才发现nga也有大佬你的帖子,这个可能发在那边更好点
