Problem Description
Setting layers to global in the startup layout causes all other objects on all other same-name layers to disappear (editor displays zero objects for the layer in question and runtime will complain about missing instances of objects being referenced). Trying to add new objects to a layout that had objects go missing threw the error message below. Seems to have been a one-off thing, I'm not getting the error message anymore, though layout objects are still missing. Setting the startup layout's layer back to non-global restores the objects in other layouts.
---------------------------
Construct 2 Check failure
---------------------------
Check failure! This is probably a bug:
Adding instance to layer with wrong layer owner
Condition: instance->GetLayer() == this
File: Projects\Layer.cpp
Line: 109
Function: void __cdecl Layer::AddInstance(class std::unique_ptr<class WorldInstance,struct std::default_delete<class WorldInstance> > &&,bool)
Build: release 181 (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/705 ... rsBug.capx
Description of Capx
Simple capx with two layouts. Layout 1 has 3 layers and so does Layout 2. Layout 2 also have two objects, one on Layer 1 and one on Layer 2.
Steps to Reproduce Bug
Set layer 1 or layer 2 on first layout to global. Watch layout 2 objects on same-name layer disappear.
Observed Result
Objects disappear/get disabled both in edit-time and in runtime.
Expected Result
That objects don't get disabled
Affected Browsers
- Chrome: Don't know
- FireFox: Don't know
- Internet Explorer: Don't know
Node-Webkit: Yes
Operating System and Service Pack
Windows 7 Service Pack <at least 1>
Construct 2 Version ID
r181