Cocos2d-x: Pass Parameters Between Scenes

if I placed this code

Director::getInstance()->replaceScene(Worksheet_ID_ReplaceScene::createScene(_worksheetIDCurrent,_GroupKey_ID.c_str()));

then it worked fine

but if added TransitionFade in code

Director::getInstance()->replaceScene(TransitionFade::create(1.0,Worksheet_ID_ReplaceScene::createScene(_worksheetIDCurrent,_GroupKey_ID.c_str())));

then it return error

I can ask engineering for a better answer, but my wonder is because when transitioning the scene isn’t immediately replaced?

The error message has given the answer, you need to check the engine code, it may be the following case: