Incorrect lua not reported as such.

When I have a syntax error in my lua scene I get:

WARNING: Cannot transition to a scene that does not exist. If you called storyboard.removeScene() on a scene that is NOT represented by a module, the scene must be recreated before transitioning back to it.

Intead of it just pointing out what’s wrong [import]uid: 5942 topic_id: 25122 reply_id: 325122[/import]

This is because storyboard fails to load the scene. It could be more detailed, but storyboard needs some flexibility to not error out on you because there are various situations where a scene might be unloaded or just plain not exist.

Until they have reporting through the scene structure, there is a simple (temporary) workaround:

[code]-- myscene.lua
local storyboard = require(“storyboard”)
local there = require(“there”) – require this to see the error.

storyboard.gotoScene(“there”) – if it can’t load this scene…^[/code] [import]uid: 41884 topic_id: 25122 reply_id: 102117[/import]

This one just caught me out - had no idea why the next scene wouldn’t load. Had missed a comma off the end of a list of parameters! Doh [import]uid: 140429 topic_id: 25122 reply_id: 102896[/import]