I found a bug. If your commander dies and you click restart, your commander doesn't successfully load on the next run and you instantly get a "You have died" dialogue, and this error code.
___________________________________________
############################################################################################
ERROR in
action number 1
of Draw Event
for object oEndGameStats:
Variable <unknown_object>.shipData(106431, -2147483648) not set before reading it.
at gml_Object_oEndGameStats_Draw_0
############################################################################################
gml_Object_oEndGameStats_Draw_0 (line -1)