As this post title suggest, font of the scene become disappear when same scene call more than two time.

Following code I used for creating font.

 mNumberFontTexture = new BitmapTextureAtlas(
alienAttack.getTextureManager(), 256, 256);
numberFont = new Font(alienAttack.getFontManager(), mNumberFontTexture,
Typeface.create(Typeface.DEFAULT, Typeface.BOLD), 52, true,
Color.YELLOW);


Based on requirement I load a font texture as per the following way.

    public void loadLevelSelectGraphics() {
}

}


I am using scene base approach for developing game. Please suggest me in which thing I am doing mistake. Thanks for your effort.

EDIT

Screenshot represent the problem which was occur after multiple load and unload font method.

• By dissapear you mean letters become black squares or completely dissapear? – MartinTeeVarga Jun 12 '13 at 11:18
• Letter become completely disappear sometime or become multicolor box region sometime. Thanks for your reply. At least you show some courage to answer. – Siddharth Jun 12 '13 at 17:19
• If you want then I can post a screenshot also so you can better understand. Because I am working with long time with this engine and first time got this type of problem. So any how I want to detect what was going wrong. – Siddharth Jun 13 '13 at 4:02
• Maybe screenshot, but post when do you call the load and unload methods. I think the problem will be there. – MartinTeeVarga Jun 13 '13 at 4:06
• Within few minutes I will post screenshot. – Siddharth Jun 13 '13 at 4:07

Also it can be another texture that fills the memory. In your example, you are loading levelSelectBitmapTextureAtlas.load(); but you are not unloading it. It might have filled your memory and there is no more space for the font.