I believe this is due to the Tileset:destroy() function, because there was a bug with Corona that when you dispose a spritesheet that was used with physics it caused problems. This bug seems to have been fixed now so in the next version of lime the spritesheet:dispose() function is now being used.
For now you should be able to just replace the destroy() function in “lime-tileSet.lua” with this:
[code]
— Completely removes the TileSet.
function TileSet:destroy()
self.spriteSet = nil
self.spriteSheet:dispose()
self.spriteSheet = nil
end
[/code] [import]uid: 5833 topic_id: 10301 reply_id: 37601[/import]