mfoltz / Bloodcraft

GNU Affero General Public License v3.0
13 stars 4 forks source link

请问这个问题怎么解决? #21

Closed tongren66 closed 5 months ago

tongren66 commented 5 months ago

[Error :Il2CppInterop] Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.ArgumentException: An item with the same key has already been added. Key: at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable1 source, Func2 keySelector, Func2 elementSelector, IEqualityComparer`1 comparer) at Bloodcraft.Services.PlayerService.CacheUpdateLoop()+MoveNext() at Trampoline_ByteThisBepInEx.Unity.IL2CPP.Utils.Collections.Il2CppManagedEnumeratorMoveNext(IntPtr , Il2CppMethodInfo* )

mfoltz commented 5 months ago

version?

tongren66 commented 5 months ago

0.9.8.0

mfoltz commented 5 months ago

hmm clearing the cache as it's doing now should be avoiding that but will take another look today

mfoltz commented 5 months ago

alright if this isn't fixed now in 0.9.9 I will be baffled but let me know if it happens again lol