S
Symmetrik
Guest
I was working on a project in GMS2, then spontaneously out of nowhere I got this error when running the game.
So I started to delete objects one by one as this error kept referring to an object each time, then once I've deleted all the objects, this error still persists as the error message above. So essentially the whole project is corrupt and I have to delete it because of this bug.
############################################################################################
FATAL ERROR in
action number 1
of Create Event
for object <undefined>:
Pop :: Execution Error - Variable Index [0,-1] out of range [1,0] - -5.<unknown variable>(100004,-1)
at gml_Script___global_object_depths (line 22) - global.__objectID2Depth[ objID ] = global.__objectDepths;
} // end for
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script___global_object_depths (line 22)
called from - gml_GlobalScript_1 (line 1) - __global_object_depths()
FATAL ERROR in
action number 1
of Create Event
for object <undefined>:
Pop :: Execution Error - Variable Index [0,-1] out of range [1,0] - -5.<unknown variable>(100004,-1)
at gml_Script___global_object_depths (line 22) - global.__objectID2Depth[ objID ] = global.__objectDepths;
} // end for
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script___global_object_depths (line 22)
called from - gml_GlobalScript_1 (line 1) - __global_object_depths()
So I started to delete objects one by one as this error kept referring to an object each time, then once I've deleted all the objects, this error still persists as the error message above. So essentially the whole project is corrupt and I have to delete it because of this bug.