Crash in Battle (Variable not set before reading it)

Platform: Windows/Steam
Version : 0.004

Not sure what caused this. Random fight on Realm 4, crash during enemy turn


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

Variable obj_battlecontroller.slot(100058, -2147483648) not set before reading it.
at gml_Script_crit_intelligence
############################################################################################

stack frame is
gml_Script_crit_intelligence (line -1)
gml_Script_bc_OnDodge
gml_Script_bc_CreatureAttack
gml_Script_bc_ArtificialIntelligence
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0

Same error again in a different fight …
… Is there any information that I can collect that would be helpful?


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

Variable obj_battlecontroller.slot(100058, -2147483648) not set before reading it.
at gml_Script_crit_intelligence
############################################################################################

stack frame is
gml_Script_crit_intelligence (line -1)
gml_Script_bc_OnDodge
gml_Script_bc_CreatureAttack
gml_Script_bc_ArtificialIntelligence
gml_Script_bc_Turn
gml_Object_obj_battlecontroller_Step_0

Do you remember what enemies you were fighting when this happened?

My Team:
– Ottum
– Muted Vampire Bat
– Summer Aspect
– Unicorn Vivifier
– Imp Hexer
– Djinn Illussionist

The enemies were fairly standard early-game Realm 4 enemies:
– Cerebral Vortex
– Plague Alchemist
– Inaer Rift Dancer
– Dragon Solder
… Maybe a Raven Acolyte or Phantum Mace Dude?

I just had it happen a third time and this time I know exactly the monsters in the fight. My team was as listed in the previous post. The enemies were exactly:

– Dragon Soldier
– Plague Alchemist
– Ianer Rift Dancer
– Ianer Rift Dancer
– Cerebral Vortex

Note: This is happening pretty consistently … makes it difficult to get to Realm Depth 5