Construct 2 Check failure: Failed to create HICON

Bugs will be moved here once resolved.

Post » Sat Apr 02, 2016 6:13 am

Problem Description
With enough image objects in a C2 project (such as when using Spriter and creating a large game with many art pieces), this error comes up and it crashes, even with icon caching unchecked in preferences:

---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:

Failed to create HICON

Condition: icon16 != NULL
File: Projects\ObjectTexture.cpp
Line: 671
Function: struct HICON__ *__cdecl ObjectTexture::GetHICON16(bool &)
Build: release 220 (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
Could do this privately to an admin.

Description of Capx
Game.

Steps to Reproduce Bug
  • Have many image objects in C2.
  • :(
  • :(

Observed Result
Error and crash.

Expected Result
Would like it to work. Must continue adding image pieces into game. Download is only less than 200mb and RAM use only 500mb. All the images are needed, plus more.

Affected Browsers
    Unrelated to browser step.

Operating System and Service Pack
Latest Windows 10 Pro 64-bit.

Construct 2 Version ID
Beta r220.
B
7
S
1
Posts: 47
Reputation: 541

Post » Sat Apr 02, 2016 11:04 am

- why are you still on r220?
- how many images are in your project? if it's thousands, it's probably the Windows OS 10000 object limit, which there's not much we can do about...
- please see the bug report guidelines, we cannot do anything about reports like this and we don't want your full .capx either
Scirra Founder
B
400
S
237
G
89
Posts: 24,550
Reputation: 195,537


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest