Frequent crash at battle start


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

Variable obj_condition.cide(100204, -2147483648) not set before reading it.
at gml_Script_bc_CreatureCast
############################################################################################

stack frame is
gml_Script_bc_CreatureCast (line 0)
gml_Script_bc_CreatureCastSpellGem
gml_Script_bc_SpellsOnHit
gml_Script_bc_StartupEffects
gml_Object_obj_battlecontroller_Step_0

I have a lot of cast a start spell gems. The game crashes possibly while processing all of the cast at start spell gems. It crashes before they are visually cast.

V 2.1.6
Windows 10