(I apologize for my previous incorrect bug report posting - Please forgive any possible slights in this one as well, due in part to a lack of sleep! - Thank you for your patience.)
Problem Description
With enough objects in a C2 project, any of these two check failure errors come up, and you must abort program, even with icon caching unchecked in preferences, using the latest version of C2: beta r226.
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Failed to create HICON
Condition: icon32 != NULL
File: Projects\ObjectTexture.cpp
Line: 696
Function: struct HICON__ *__cdecl ObjectTexture::GetHICON32(bool &)
Build: release 226 (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
---------------------------
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Object texture leak: a texture is still loaded when cleaning up an ObjectTexture, check all textures released properly
Condition: gl_instances.empty()
File: Projects\ObjectTexture.cpp
Line: 33
Function: __cdecl ObjectTexture::~ObjectTexture(void)
Build: release 226 (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
---------------------------
Attach a Capx
dropbox.com/s/699w3flgu0ug862/C2Help.capx
Fresh new bare-minimum capx created just for this report. Needless to say, the amount of objects therein are essential to this report. This includes any and all duplicate images existing in separate folders. They are intended and essential to the project.
Description of Capx
A bare-minimum capx of thousands of objects. Primarily png images. Meant for a game/app.
Steps to Reproduce Bug
- Have thousands of objects in C2.
- Attempt to work with the project in any way, such as what I happened to be doing before the latest and unexpected error: Simply adjusting the UI spacing of the actual C2 program's event sheet UI.
Observed Result
Check failure, and need to abort C2.
Expected Result
Would like it to work without check failure error. Need to be able to work with project. My guess is that the total amount of objects does not reach 10000 objects, which could cause the Windows OS 10000 object limit. In the unlikely case of such a limit reached, please advise on possible workarounds. For example:
A way to have a single game/app be comprised of two different C2 projects?
Or, a possibility that the user could be prompted to download 'part 2' of the game/app upon reaching the end of 'part 1'?
Or, even the suggestion to buy an inexpensive Mac for C2, in the case that Macs do not have this object limit?
(I could alternatively plan for two released apps instead of one, which would have to be downloaded from app markets independent of each other, aptly named to the effect of 'Part 1' and 'Part 2'. But let's call that 'Plan B' for now. Any help would be appreciated, for the sake of user convenience, as well as the possibility that a single app would make my job easier regarding any Event work to come, such as in the case of dealing with game saves and loads between two projects/apps.)
Affected Browsers
- Chrome: NO
- FireFox: NO
- Internet Explorer: NO
Operating System and Service Pack
Latest Windows 10 Pro 64-bit, latest service pack, including all automatic and latest updates released.
Construct 2 Version ID
Beta r226. Realized new version came out yesterday. Upgraded. It appeared to help at first, even to the point that it fully allowed all intended objects to be inserted successfully. However, error still occurs upon enough attempt to work with project.