Cocos2d and SpriteBatchNode: cannot identify which sprite frame is causing an Assertion to fail
I have already asked something similar but I can't figure out properly how to debug this. That's the question . I added some Exceptions handler (catches all Objective-C) exceptions and that's the result of what I see: The problem is with the setTexture method and it fails at the assertion verifying whether the texture name that needs to be displayed is the same as the one in the current sprite batch node. This happens when trying to replace one scene with another but doesn't happen all the times. It has to do with the new scene as I tried to "isolate" the problem by calling the replace from a