M
mza1979m
Guest
I've been having this disturbing issue with my game. I've been developing it for 2 months on GMS2 and have put massive amounts of effort into it, but there is just one issue that is constant, and no matter what I do, it won't go away...
The game would run, and everything appears to be fine. I have about 73 ini_open() and ini_close() statements to save variable values to an INI file. The maximum size of the INI file reaches 33kb. I could launch the game 20 times and everything would be fine and it would preserve all variable values as expected and recall them on the next run. However, once in a while I would launch the game and find that everything in my INI file has been deleted and the game literally restarts from the beginning as if no progress was saved to the INI file at all. This happens maybe once every 20 launches. It has happened during testing on my Android phone as well. I actually tried replacing the entire INI file saving system with a 3rd party saving asset (playerprefs_gm), and strangely it now does it more frequently. The .sav file created would just get erased once in a while and progress is reset. Could this be a problem with GMS2? Or could this be related to the fact that I'm in 'test' mode and the game isn't actually compiled?
The game would run, and everything appears to be fine. I have about 73 ini_open() and ini_close() statements to save variable values to an INI file. The maximum size of the INI file reaches 33kb. I could launch the game 20 times and everything would be fine and it would preserve all variable values as expected and recall them on the next run. However, once in a while I would launch the game and find that everything in my INI file has been deleted and the game literally restarts from the beginning as if no progress was saved to the INI file at all. This happens maybe once every 20 launches. It has happened during testing on my Android phone as well. I actually tried replacing the entire INI file saving system with a 3rd party saving asset (playerprefs_gm), and strangely it now does it more frequently. The .sav file created would just get erased once in a while and progress is reset. Could this be a problem with GMS2? Or could this be related to the fact that I'm in 'test' mode and the game isn't actually compiled?