If active player group have same combatants in battle ,
it will get this error and black screen while loading battle scene .
ArgumentException: An item with the same key has already been added. Key: 3ef3884f8e544fe98692ff2dea187625
System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) (at <437ba245d8404784b9fbab9b439ac908>:0)
System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) (at <437ba245d8404784b9fbab9b439ac908>:0)
ORKFramework.GUIDCollection`1[T].Add (T content) (at <586ba742a02741988038e7cf77e1a3f5>:0)
ORKFramework.CombatantHandler.Clear (System.Boolean clearLocked) (at <586ba742a02741988038e7cf77e1a3f5>:0)
ORKFramework.GameHandler.SceneLoaded () (at <586ba742a02741988038e7cf77e1a3f5>:0)
ORKFramework.ORKCore.FireSceneLoaded () (at <8000db6943fe4a6688c47bb850a8dd54>:0)
ORKFramework.ORKCore.OnSceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <8000db6943fe4a6688c47bb850a8dd54>:0)
UnityEngine.SceneManagement.SceneManager.Internal_SceneLoaded (UnityEngine.SceneManagement.Scene scene, UnityEngine.SceneManagement.LoadSceneMode mode) (at <480508088aee40cab70818ff164a29d5>:0)
  • edited April 2020
    Which ORK version are you using?
    And how's your battle set up, e.g. started via Battle component or spawned combatants, teleport to another scene for fighting, etc.?
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Which ORK version are you using?
    2.28.1

    Started via Battle component or spawned combatants ?
    Combatant Spawner

    Teleport to another scene for fighting ?
    Yes , and battle start events stop at the "Load Scene" node .

    Battle Type ?
    Active Time

  • Thanks, will do some tests.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.