Are there any maximum number of groups in corona? apparently my game suddenly doesn’t work after adding some game Objects and LOCAL variables on a seperate Composer. I sudden;y can’t insert an object to my group, or maybe the variable group is not a group. here is ther error code
“Attempt to call method ‘insert’ (a nil value)”
my code is this:
displayGroup = {} displayGroup.gameGroup = display.newGroup() local bg = display.newRect(0,0,100,100) displayGroup.gameGroup:insert(bg)
it’s weird there is no error here.
when I try to skip my main menu, go straight ahead to my Game, there is no error
there are a lot scenes in between main menu and game