cocos2d-x 3.13.1 CheckBox的bug?

CheckBox* CheckBox::create(const std::string& backGround,
                           const std::string& cross,
                           TextureResType texType)
{
    CheckBox *pWidget = new (std::nothrow) CheckBox;
    if (pWidget && pWidget->init(backGround,
                                 "",
                                 cross,
                                 "",
                                 "",
                                 texType))
    {
        pWidget->autorelease();
        return pWidget;
    }
    CC_SAFE_DELETE(pWidget);
    return nullptr;
}

pWidget->init中的第二个参数是 “”,当TextureResType是TextureResType::PLIST时setSpriteFrame会进入 CCASSERT(!spriteFrameName.empty(), “spriteFrameName must not be empty”);

同样遇到这个问题, 是不是要自己改一源码 注释掉CCASSERT(!spriteFrameName.empty(), “spriteFrameName must not be empty”);

感谢反馈,这个应该是 bug。