not sure if it is a bug, that's why I'm posting it here.
There's something wrong with go to the layout in my game. It works but sometimes I get this error:
TypeError: inst is undefined
localhost/layout.js, line 422 (col undefined)
This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer!
In chrome it looks like this:
Uncaught TypeError: Cannot read property "type" of undefined
localhost/layout.js, line 422 (col13)