aadarshasubedi / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Empty (blank) guiNode causing problems on some android devices #617

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I've been developing a simple android game when I've noticed this bug; When 
guiNode is empty, objects on screen break - for example, this: 
http://puu.sh/5ZFFF.png turns into this: http://puu.sh/5ZEAo.png.

With the attached code and jMonkey SKD 3.0.4, I've reproduced the bug on HTC 
ONE, HTC ONE X, Nexus 4, and LG G2, however this bug doesn't appear on Galaxy 
S2 and S3, which may be due to a different Android kernel (S2 and S3 use 3.0.x 
kernel, other devices use 3.4.x kernel)

This bug doesn't seem to be affected by Android version; on Galaxy S2 and S3 
I've got no bug with Android 4.1.2, 4.3, and 4.4.2, on other devices this bug 
appears regardless the Android version. The attached code is set to add / 
remove text from guiNode every two seconds to show the normal display (with 
text on guiNode) and broken display (with no text on guiNode).

Original issue reported on code.google.com by developm...@hitko.si on 27 Dec 2013 at 11:51

Attachments: