fairygui / FairyGUI-cocos2dx

A flexible UI framework for Cocos2d-x

Home Page:https://www.fairygui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Program Crashes when closing while scene Fade transitioning

Gerard097 opened this issue · 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

commented

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.