Ancient Prayer on creature with barrier crashes the game.

Casting ancient prayer on my Glade Watcher while it has a barrier crashes the game.

OS:Android
Version : 1.3.14

Relevant error text, OCR’d from a screenshot, so it might be slightly wrong:

Unable to find any instance for object index '111091
name undefined>'
at gml_Script_bc_CreatureCast (line 1501)
scr_AddEventToStack(1, bc_EventBuff(caster, tar,
debuffs lil.cid, de buffs lil.duration, debuffs.param1,
debuffs lil.param 2, debuffs lil.param 3, wait, );

stack frame is
gml_Script_bc_CreatureCast (line 1501)
called from gml Script bc_Turn (line 259)

bc_CreatureCast(global.creatureList[1],
global.playeraction_cast targets,
global.playeraction_cast_gem, false);
called from - gml_Object_obj_battlecontroller_Step_0
(line 571) - bc Turn(global.creatureList 1);

I have a save file which reproduces this bug, cloud id 334465166710.

Steps to reproduce:

  1. Enter battle
  2. Cast crystal shield with any creature
  3. Cast ancient prayer on Glade Watcher while it has a barrier from crystal shield.

Thanks for the cloud save and the instructions - that was a big help! I’ll have this fixed in the next patch.