Construct 2 Check failure: Failed to create HICON

  • 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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
    • 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
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)