Mizzix's Mastery doesn't work with overload
All cards get exiled, but I was unable to cast any of them. There were no other cards in the battlefield that would prevent me from casting them.
Same issue is happening with [[Arcane Bombardment]] - @JayDi85 this might be due to the target refactor?
Arcane Bombardment - (Gatherer) (Scryfall) (EDHREC)
{4}{R}{R} Enchantment Whenever you cast your first instant or sorcery spell each turn, exile an instant or sorcery card at random from your graveyard. Then copy each card exiled with this enchantment. You may cast any number of the copies without paying their mana costs.
If code fail in copied cards choose then it can be related to targeting refactor (e.g. possibleTargets code can’t filter/find it in the list for some reason):
[[Mizzix's Mastery]]
Mizzix's Mastery - (Gatherer) (Scryfall) (EDHREC)
{3}{R} Sorcery Exile target card that's an instant or sorcery from your graveyard. For each card exiled this way, copy it, and you may cast the copy without paying its mana cost. Exile Mizzix's Mastery. Overload {5}{R}{R}{R} (You may cast this spell for its overload cost. If you do, change "target" in its text to "each.")
I believe your targeting code is fine here. The problem is that the exile zone doesn't have the copied cards in it. The solution here may be to just move the copied cards to exile. They will then be picked up by the possibleTargets code and highlighted.
From a judge: You exile the cards, make copies of those cards, and then you can cast those copies from exile while the Mastery is resolving. The copies go on the stack, the cards stay in exile.
It's probably the same issue with Arcane Bombardment in that case - I'm pretty sure that was copied from Mizzix's Mastery
So, the solution here is to move the copied cards to the exile zone and to implement a state-based action check for all zones outside the battlefield and stack that removes all copied cards from the game.
It's already implemented -- copied cards removes from any zones (except stack and battlefield) on SBA.
During the card-copying process in GameState, the copied card is never actually placed into the exile zone. Although the game state may indicate that the copied card is in exile, the exile zone itself does not contain the copied card. This would fix this issue and probably others as well.