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)
And how's your battle set up, e.g. started via Battle component or spawned combatants, teleport to another scene for fighting, etc.?
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
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
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!