FairyGUI-cocos2dx icon indicating copy to clipboard operation
FairyGUI-cocos2dx copied to clipboard

Program Crashes when closing while scene Fade transitioning

Open Gerard097 opened this issue 4 years ago • 1 comments

So as the title says, the program crashes if you try to close the application while a TransitionFade is happening.

To replicate this is quite ease:

On the Example project ->

MenuScene.cpp -> continueInit()

Just change the transition time to a larger value i.e 1.5 for the first child (button that navigates to BasicScene)

image

Then when transitioning to Basic Scene close the application

crash-fairy

Gerard097 avatar Feb 22 '20 21:02 Gerard097

The transition effect of scene changing is just for demo usage. It is not related to FairyGUI sdk. So try to repace or fix this effect in your real project.

xiaoguzhu avatar Feb 27 '20 00:02 xiaoguzhu