mbeytekin
Member
I'm trying to save animated gif in GM2.
I'm using GM 2.2.5.378 and sometimes I get an error when I use gif_save() function;
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_MAIN:
Illegal Buffer Index 6
at gml_Script_UI_Exporting_GIF (line 40) - var res=gif_save(global.gif_image,global.exportfilename)
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_UI_Exporting_GIF (line 40)
called from - gml_Object_obj_MAIN_Step_0 (line 118) - if global.GIFExport {UI_Exporting_GIF();}
normally this code works but sometimes it gives this error.
I use some other buffers in my program and I suspect gif buffer corrupts before saving.
Any idea?
I'm using GM 2.2.5.378 and sometimes I get an error when I use gif_save() function;
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_MAIN:
Illegal Buffer Index 6
at gml_Script_UI_Exporting_GIF (line 40) - var res=gif_save(global.gif_image,global.exportfilename)
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Script_UI_Exporting_GIF (line 40)
called from - gml_Object_obj_MAIN_Step_0 (line 118) - if global.GIFExport {UI_Exporting_GIF();}
normally this code works but sometimes it gives this error.
I use some other buffers in my program and I suspect gif buffer corrupts before saving.
Any idea?
Last edited: