Hey guys i hope i dont mention anything that is already known but i want to warn you :
today i tried to run an app witch runs on my windows pc and it always resulted in opengl error 1285
after 3 hours of my head exploding i found the problem
i had a BitmapText attached to the guiNode but i didnt set a text! It seems that android cant handle it… but windows does…
@wezrule said:
I remember that @sbook fixed this about 5 months ago (nothing android specific tho), are you running nightly jME?
There were some changes I reverted some time back because they didn’t appear to do anything but break 5 other things. Maybe it’s related. That had to do with buffer resizing or something, I thought.
So I’m also curious which version the OP is running.
@wezrule said:
I remember that @sbook fixed this about 5 months ago (nothing android specific tho), are you running nightly jME?
I haven’t touched BitmapText because I haven’t used it much with jME3
I do remember a flare-up in conversation around it in that timeframe though, and totally remember @pspeed saying something similar to what he’s saying here about what a mess it is to hack on.
Actually, it’s funny because the second thread is exactly the kind of problem I fixed by reverting your change… since recreating the text block without copying over all of the attributes was causing text to go weird if it ever went to “”.
when I change the Text you can still see some letters from the old Text…
Like changing from “Button4” to “Fire” you see “Fireon4”…but only on android again…
when I change the Text you can still see some letters from the old Text…
Like changing from “Button4” to “Fire” you see “Fireon4”…but only on android again…
I know nothing about android development but this issue sounds familiar. What version of JME are you running, etc.?
Yeah, @wezrule is right, it sounds like you are using the original RC2 version. The issue with leftover text characters was fixed a while ago, but there hasn’t been a stable updated or an RC3 to get the fix out unless you use the nightly version of the SDK or engine.
Try updating to the latest nightly of the SDK or engine and see if both issues go away.
Another note: When we fixed the issue with leftover text on Android, you don’t need to pad the text anymore. Just change the text to what you want and the leftover characters should not appear anymore.