After closing my previous post about game crashes approximately a month ago,
updating my game several times for it to run at a much more stable state.
I think I finally found the true cause of the game crashes,
“Error While Processing Packet”
More information relating to previous experiences and attempts at fixing the issue :
My game had always experienced performance issues such as, low framerate or stuttering. Me and two other members of the development team usually ignored such things due to the game still being in development. After nearly a year into development, Roblox released their Shoreline Update, which we wanted to try out. As soon as the game was updated to the new shorelines, we tried out the game which at that time didn’t notice anything odd. After a short period of time though, the game started to experience full-on game crashes (Crashing without any error messages, just directly closing). In which, I have made a post previously mentioning of such crashes, but wasn’t aware of the reason behind it.
We decided to remove all scripts from the game in an attempt to figure out the issue, it seems to have made the game last longer without crashing but still crashes in the end. Lastly, I began replacing different things in the game in order to improve performance.
And now, we’re here.
The Developer Console shows ‘Error While Processing Packet’ before the game encounters Error 260.
And according to one of the members, he encountered an even more descriptive crash message with ‘bad allocation’ (The image below)
I have searched around several forum posts, but they all seem to be fairly outdated and unrelated.
UPDATE : Several things I have forgot to mention,
the game crashes doesn’t occur on lower-end devices,
the terrain and nearby structures usually stop loading in or loads in incorrectly when nearing a crash,
the game tends to crash when the Client memory usage reaches near 3000MB,
the game’s Client or Server memory usage never decreases and only increases,
when StreamingEnabled is set to false, the game almost crashes within 10 seconds.
the game tends to face these issues more often when rendering in new regions of the map.
I personally don’t know much about what this all means, can someone please describe the error or even suggest a possible solution into stopping the game crashes?