Ashley Kyatric
So I've done some very thorough testing and stripping down of my project to find the culprit. No such luck, but removing all of the text objects in my game lets me be able to run it as many times as I want without problem. Prior to this, I tried removing all plugins, all event sheets, all spriter files, and quite a few layouts and nothing made a difference.
I can confirm it is not just a problem on my computer because the capx yields essentially the same results on other users' computers (rook, kyatric, and frenchyann so far).
Removing all of the objects let me actually read the first C2 error I've gotten so far:
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
GetHICON returned NULL
Condition: ret != NULL
File: Projects\ObjectTexture.cpp
Line: 556
Function: struct HICON__ *__cdecl ResizeBitmapToIcon(const class cr::vector2_base<int> &,class Gdiplus::Bitmap *,int)
Build: release 133 (64-bit) checked
Component: Construct 2 IDE
(Last Win32 error: 0)
You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.
---------------------------
Abort Retry Ignore
---------------------------
This error happens once I open several layouts. This leads me to think there is some memory threshold that causes C2 to no longer function. In the full game, it always crashes and the ram use is around 215,000 KB. With a ton of objects removed, it crashes around a similar level (though usually closer to 230,000 KB) but gives the above error instead. So far, removing all text objects seems to be the difference between an actual error message and total UI meltdown. I have 4 GB of ram and 1 GB of vram, so I wouldn't think this would be enough to cause issues.
Previously, all errors were "encountered an improper..." and sometimes a resource error. I haven't been able to create a minimal capx to isolate the problem. Text objects alone don't cause it alone. They do, at times, seem to prevent C2 from properly displaying an error. But all of the errors seem to occur when I get between 215,000 KB and 220,000 KB of ram use in Task Manager.
I'm going to try to make another capx with about that size of ram use (c2 editor, not runtime), but that will take longer than I have available tonight.