Mid battle crash

Had this crash happen when my Spider Occultist tried to cast Magic Missile via its trait. I had just added a Sorcery Shapeshifter to my team, so that is the most likely culprit.


############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_battlecontroller:

Variable obj_artifact.(100198, -2147483648) not set before reading it.
at gml_Script_bc_EventManaLoss
############################################################################################

stack frame is
gml_Script_bc_EventManaLoss (line -1)
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_EventManaLoss
gml_Script_bc_EventManaRecover
gml_Script_bc_CreatureStartOfTurn
gml_Object_obj_battlecontroller_Step_0