Arackulele / GrimoraMod

Grimora Mod for Inscryption
15 stars 7 forks source link

Softlock with sigil interaction: #196

Closed mallardj closed 10 months ago

mallardj commented 1 year ago

When a card with skeleton horde is played and there is a remnant of haunt sigils on the table that applies to a skeleton, a softlock occurs.

Corresponding exception:

[Error  : Unity Log] InvalidOperationException: Collection was modified; enumeration operation may not execute.
Stack trace:
System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) (at <44afb4564e9347cf99a1865351ea8f4a>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <44afb4564e9347cf99a1865351ea8f4a>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <44afb4564e9347cf99a1865351ea8f4a>:0)
DiskCardGame.GlobalTriggerHandler+<TriggerNonCardReceivers>d__20.MoveNext () (at <4bde92741da1454db82522c215e393a6>:0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at <3f8c35799b544274b189c23afcaaf82e>:0)
Arackulele commented 10 months ago

Cant recreate it, it probably works properly at this point