Layer -> Check failure

0 favourites
  • 5 posts
From the Asset Store
Various Bell Sounds (from small to huge) / 35 Unique Clips / 2:46 minutes of audio
  • Sorry Ashley more work for you <img src="smileys/smiley18.gif" border="0" align="middle" />

    Again new project.

    1) Create new layer (Layer 1)

    2) Delete layer (Layer 0)

    3) Change property 'Force own texture' to 'Yes'

    4) BAM!

    <font size="2">

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Modifying deleted layer

    Condition: !IsDeleted()

    File: Projects\Layer.cpp

    Line: 516

    Function: void __thiscall Layer::SetForceOwnTexture(bool)

    Build: release 50 (32-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.

    ---------------------------

    Abbrechen   Wiederholen   Ignorieren   

    ---------------------------

    </font>

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Other properties are also affected.

    <font size="2">

    ---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Modifying deleted layer

    Condition: !IsDeleted()

    File: Projects\Layer.cpp

    Line: 451

    Function: void __thiscall Layer::SetTransparent(bool)

    Build: release 50 (32-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.

    ---------------------------

    Abbrechen   Wiederholen   Ignorieren   

    ---------------------------

    </font>

  • Fixed!

  • Nice! Did you also fix this here?

    Function: void __thiscall Layer::SetInitiallyVisible(bool)

  • Yes, the problem is the properties for the deleted layer are left showing after you delete it. If you change any of those properties, it will throw a check failure. The next build clears the properties after you delete the layer, so you can't change any of the properties at all.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)