setText on 3d text does not remove previous text


I have a text attached to 3d space like this:

[java]BitmapFont fnt = MainGame.getAsset().loadFont(“Interface/Fonts/Default.fnt”);

title = new BitmapText(fnt, false);

title.setBox(new Rectangle(0, 0, 6, 3));


title.setSize( 0.5f );

title.setText(“Mechanized Infantry”);



if I do title.setText(“Tank”) then the text will say Tankanized Infantry because the rest of the text isnt removed…

Is this a bug or should I do something else while updating the text?

It’s a known issue on android, but do you have this on Desktop?

For now the workaround is pretty ugly, you have to add white spaces after your word…

Yea it was android. Ohwell, thanks for the intel :smiley: