Why could `_textureAtlas` be a `nullptr` ? It's initialized at `SpriteBatchNode::initWithTexture` .