CCLabelTTF - occasional black boxes onResume - textures lost?

Hi All,

From time to time, if I exit my game on Android while text is being displayed with CCLabelTTF, then when I re-enter the game, the text is replaced with black boxes. I’m guessing the texture is getting lost. All other textures are fine though.

Any idea how to prevent this from occurring?
Thanks

I have the same.

Thanks for confirming Dawid.

After testing some more, I can reproduce the issue more frequently if I do the following:
# start game
# launch some activity (such as an interstitial ad)
# close that activity and return to game
# at this point, have CCLabelTTF display some text ==> here the text is just black boxes

At this point I think either the texture is being lost or it was never being created in the first place.
Anybody else come across this? Any ideas how to solve?

Thanks

Went ahead and reported this as a bug here: http://cocos2d-x.org/issues/3669

Ok,
I found out the cause of and workaround for this issue. Updated the info here: http://cocos2d-x.org/issues/3669

@Sheado i got the same , does it fixed?

I think you can refer this thread.