Hey there! This is my first post on the forums so excuse me if anything in here breaks protocol.
I've been working on a rather large project for about 2 and a half years now, and in the past few weeks as we've hit the end of adding assets, people have started reporting this crash:
___ ############################################################################################ FATAL ERROR in action number 1 of Draw Event for object obj_objective_parent: Memory allocation failed: Attempting to allocate 67108864 bytes at gml_Object_obj_objective_parent_Draw_0 ############################################################################################ -------------------------------------------------------------------------------------------- stack frame is gml_Object_obj_objective_parent_Draw_0 (line -1)
It's always on line -1, and has been called from pretty much every object I have. It can't be a memory leak since sometimes it'll even happen right on the launch of the game - and it doesn't reproduce, happening seemingly at random. It also happens sometimes before any surfaces other than the application surface are drawn, and most posts I've read on the subject point to excess surfaces as a potential culprit. I don't know if I need to just scale some of my assets down, since the game is massive and any assets that would be in are now in, but I really need to get this sorted out and am at a loss for solutions.
Starting to get pretty frustrated since it'll happen in create events, draw events, anything that gets run - it might produce this bug. The byte allocation amount is always 67108864. Hoping someone here has had experience with this and might point me in the right direction. Again, sorry if I'm breaking protocol in some way with this post, new to posting on the forums.
I've been working on a rather large project for about 2 and a half years now, and in the past few weeks as we've hit the end of adding assets, people have started reporting this crash:
___ ############################################################################################ FATAL ERROR in action number 1 of Draw Event for object obj_objective_parent: Memory allocation failed: Attempting to allocate 67108864 bytes at gml_Object_obj_objective_parent_Draw_0 ############################################################################################ -------------------------------------------------------------------------------------------- stack frame is gml_Object_obj_objective_parent_Draw_0 (line -1)
It's always on line -1, and has been called from pretty much every object I have. It can't be a memory leak since sometimes it'll even happen right on the launch of the game - and it doesn't reproduce, happening seemingly at random. It also happens sometimes before any surfaces other than the application surface are drawn, and most posts I've read on the subject point to excess surfaces as a potential culprit. I don't know if I need to just scale some of my assets down, since the game is massive and any assets that would be in are now in, but I really need to get this sorted out and am at a loss for solutions.
Starting to get pretty frustrated since it'll happen in create events, draw events, anything that gets run - it might produce this bug. The byte allocation amount is always 67108864. Hoping someone here has had experience with this and might point me in the right direction. Again, sorry if I'm breaking protocol in some way with this post, new to posting on the forums.