Condition work on editor,web and pc but not on Android

Hello everyone,
i am making a typing-game (something similar to Z-type) am facing a problem with loading a new word when the previous one is empty, i made some gui labels to debug on device, and my word length is equal to 0, how ever, the variable that i setto become “V” instead of “X” when word is equal to 0, is always being “X”
i checked if my word list is loaded too, and there is no problem with that all the words are loaded,
am thinking that maybe this is happening because of my over-use of the OnGUI method ??
i made the keyboard myself using gui buttons, there is other textures,rects and labels too, i have +300 lines inside the OnGUI method and there is condtions and even loops (to make the keyboard)
can that be the problem ??

thank you

1 Answer

1

That was very weird but somehow the string length on Android is always equal to it’s original length+1
is this a common thing that i missed or what ?