Does anybody use AntTweakBar here string question

Im tryingto use AnttweakBar in my application I having trouble with loading strings, I have asked for help on there forum but it doesnt appear very active so Im posting here and hoping for the best

Here my code:
in_mm_res_to_string(x_buffer, x, units);
sprintf(buffer[SIZE=2]"%s %s"[/SIZE], x_buffer, units);
TwAddVarRW(pointBar, [SIZE=2]“X:”[/SIZE], TW_TYPE_CSSTRING([SIZE=2]sizeof/SIZE), buffer, [SIZE=2]""[/SIZE]);

Basically when I run the debigger The data is in the buffer correctly but it is not being displayed in the tweakbar ( im getting just garbage )

Thanks for your help


I don’t use AntTweakBar but this sort of problem often comes from it not finding the font texture. I would check if the font texture is loaded correctly