Problem Description
Open Capx, notice there's two layers with one layer having a sprite on it. Delete that layer (Layer 1), then save. Then create a new layer, then save. You will get a Construct 2 Error message.
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Layers indexed incorrectly
Condition: (*l)->GetIndex() == expected_index
File: Projects\Layout.cpp
Line: 1547
Function: void __cdecl Layout::VerifyLooksOK(void) const
Build: release 230 (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
https://dl.dropboxusercontent.com/u/776 ... layer.capx
Description of Capx
Has two layers, with "Layer 1" with a sprite on it.
Steps to Reproduce Bug
- Open Capx, notice there's two layers with one layer having a sprite on it.
- Delete Layer 1.
- Save.
- Create a new layer, no need to do anything else, just create new layer.
- Save. You will get a the above error message.
Observed Result
Crash!
Expected Result
Not to crash!
Affected Browsers
Operating System and Service Pack
Windows 7 64-bit
Construct 2 Version ID
R230