We are developing on Windows here using the latest (stable) Windows version of Corona.
As we built an iPhone version of our app using the latest Mac version, we encountered HEAVY frame rate drops in our game each time a level was restarted. Each time the level got restarted, the game got slower and slower, down to 1 FPS on an iPod 4.
It took hours to track down the issue and it turned out that the Mac version does NOT clean Groups recursively (while the Windows version probably does).
After using the custom recursive method found above, the problem was solved.
* We don't understand, why recursive cleaning of groups was not implemented from the beginning. This is what EVERY Corona user would expect when using groups.
* If the workaround is so simple (see above), why isn't it implemente yet? I guess there are tons of Corona apps out there now causing memory leaks. This is NOT a good promotion for Corona =( You should really fix this instead forcing us to use any "hacks".
* Please add an explicit warning to the docs, this will save users tons of time.
* ANY user will notice this bug, because creating groups and adding objects to them is what even a basic level user does day by day. So there is no chance to get around this issue.
Therefore, you should really address this issue and give it an ultra high ranking -as fast as possible, because it's simply a bad reputation if Corona apps are causing memory leaks and slow down the device. I don't want to know how many apps are out there now causing exactly this problem.
uid: 9644 topic_id: 7489 reply_id: 29779