As we can see, the game crashed exactly when spell animation was played.
This is reported from time to time. I could not reproduce a single crash with that script but I think it would be good to resolve it once and for all.
My questions:
- Is there any alternative timing for spell animation before tactics phases/after entering the battlefield?
- Is playing spell animation after OnBattleRound safer and leads to fewer issues?
Edit: It looks like OnBattlefieldVisible is indeed not safe. Even BM:M at this timing could fail. I plan to abandon this trigger from all scripts.