Director Problem!

I keep getting this error with director. one file director works, the next file it doesn’t (for scene changes) I think I’ve done it all right and I can’t see a problem…

Please help…

Runtime error ...inistrator\Desktop\CoronaProjects\Flick\director.lua:268: attempt to index a boolean value stack traceback: [C]: ? ...inistrator\Desktop\CoronaProjects\Flick\director.lua:268: in function 'loadScene' ...inistrator\Desktop\CoronaProjecspawn spawn [import]uid: 68047 topic_id: 11949 reply_id: 311949[/import]

Is this the full error?

Also, you might have more luck posting this in the appropriate forum. (Director has it’s own sub forum here.) [import]uid: 52491 topic_id: 11949 reply_id: 43615[/import]

Ok, thanks. Director works on my other game, but not on this game. I am so confused! [import]uid: 68047 topic_id: 11949 reply_id: 43639[/import]

Often when you see errors for Director it isn’t actually a Director error, it just looks like it - for example if you have got a Runtime listener that you don’t cancel before scene change (but should be cancelled) or a timer/transition in progress, then you’ll have trouble.

Could any of those apply to you? [import]uid: 52491 topic_id: 11949 reply_id: 43769[/import]

OK, thanks peach I’ll take a look.

Thanks, but when do I call the clean function? On scene change? [import]uid: 68047 topic_id: 11949 reply_id: 43781[/import]

Arrgh, now that didn’t work either. I’ve checked my runtime listener and I don’t have any.

Line 73 in game.lua (the error) I posted in this thread http://developer.anscamobile.com/forum/2011/07/03/director-problem is a localGroup:insert thing.

WHY is this so ANNOYING? =/ I know it’s not director, but I’ve tried SO many different things and I still can’t get it to work.
[import]uid: 68047 topic_id: 11949 reply_id: 43783[/import]

Reading that other thread it sounds like you want to insert objects from other modules into localGroup - is that right? [import]uid: 52491 topic_id: 11949 reply_id: 43867[/import]