I've got a problem where I am creating my sprites.
If I get Received memory warning. Level=1 the next sprite that is created incorrectly points to a new spritesheet. Resulting in *** Assertion failure in -[CCSpriteBatchNode addChild:z:tag:], .../libs/cocos2d/CCSpriteBatchNode.m:202
I have 2 spritesheets, this error happens as I pass from my Menu into my Game.
The menu and the game have 2 seperate spritesheets (both 1024x1024 in size), the gameScene loads a Box2d world, so at the point of the game loading, there are 2 full spritesheets and a box2d world in existence, would this be enough to cause a memory issue?
I'm looking for ways to a) protect the spritesheets from being recreated after a memory warning or b) ideas on how to prevent the memory warning in the first place.
Thanks