Problem Description
Project was literally running fine up until this latest beta build. When previewing project from loading layout (with loading event sheet), project loads fine. When previewing project from any other layout (with respective event sheets) project doesn't run, and the following error messages are displayed:
Assertion failure: Failed to create layer initial instance
(error one)
Stack trace:
Error
at Error (native)
at assert2 (http://localhost:50000/preview_prelude.js:16:10)
at Layer.createInitialInstances (http://localhost:50000/layout.js:1505:5)
at Layout.startRunning (http://localhost:50000/layout.js:228:10)
at Runtime.go_loading_finished (http://localhost:50000/preview.js:2145:36)
at Runtime.go (http://localhost:50000/preview.js:1813:9)
at http://localhost:50000/preview.js:1898:33assert2 preview_prelude.js:30Layer.createInitialInstances layout.js:1505Layout.startRunning layout.js:228Runtime.go_loading_finished preview.js:2145Runtime.go preview.js:1813(anonymous function) preview.js:1898
error 2
Uncaught TypeError: Cannot read property 'type' of nullLayer.createInitialInstances layout.js:1510Layout.startRunning layout.js:228Runtime.go_loading_finished preview.js:2145Runtime.go preview.js:1813(anonymous function) preview.js:1898
Attach a Capx
http://threesevenhosting.com/journeybug.capx
Description of Capx
Capx file has a loader instance for preloading music/sounds, and a title screen, boiled down from one of my projects.
Steps to Reproduce Bug
- Step 1 - Preview the project from the "Title Screen Layout"
- Step 2 - Observe, weep
Observed Result
Error message stated above appears, preview is suspended
Expected Result
Regular Construct 2 Awesomeness and productivity (ie., not crashing when trying to preview layouts)
Affected Browsers
- Chrome: yes
- FireFox: yep
- Internet Explorer: yessir
Operating System and Service Pack
Windows 8.1
Construct 2 Version ID
Construct 2 Beta Release r210