build>=640:image, sprite, mask and text displayed as color box on some android phones.

My app runing very well on iphone? ipod touch, but when installed on android, some of the image will not show, and display as a white box. some time The text also will display as a color box(the same color as the text color)

I’ve tested on sony Ericsson x10 and HTC G7/G10/G11 (gpu:Adreno200 Adreno205) and got the same problem. HTC G13, Samgsung I9100 and Nexus S running perfectly.

Dose it means the app need higher capability of GPU?


I read “Performance degradation in the new public release” yesterday. Then try the old build of 591 and it is good .

Could Corona team explain this?


I’ve tested my app with many build versions of corona, >=640 will have this issues. And 640 only add display.newText() multiline support for android. I don’t know why but i need the multiline support.

CoronaSDK 2011.640
Post date: Sat, 2011-10-15 17:38

Release notes for build 2011.639 through 2011.640

iOS/Mac: for multiline text, display.newText() now supports variable height, the width must be supplied and height must be 0.

Android: Added display.newText() multiline support.

The latest build .828 still have the problem.


I submited one bug two days ago. Only it’s not confined to a single main.lua file. There may have 4 to 5 lua file you need to look into.

Look at the pictures below you will know how i am anxious.

These only happen on sony errison x10, htc G7/G10/G11, and only when you build with corona >=.640. This is under .825. If i refresh the scene(go to another scene then go back) they may dispear.


You can see the background is white blank, and some of the text are also white blank.


This picture is really weird. The img background fill with another img. when i refresh, it become normal like below.

Text may have the same problem. Text 1 and Text 3 is not show up, the area fill with text 2.


And this is a new bug of build.825

The code i submited to your bug system is not so serious(may have something to do with the number of object on the screen). Since i can’t get any error report from the simulator or the device, i don’t know where is the problem and how to make a simple test case for you. [import]uid: 82934 topic_id: 26380 reply_id: 326380[/import]

What build are you using, I had a similar problem but the diplay was black for me. This was fixed in build .806 [import]uid: 100222 topic_id: 26380 reply_id: 107029[/import]

I use the build 704.
Now i will try 806 cause i don’t konw what to do now.

Thank you for the advice. [import]uid: 82934 topic_id: 26380 reply_id: 107192[/import]

I just try build 815.

still have the same problem

thank you all the way. [import]uid: 82934 topic_id: 26380 reply_id: 107210[/import]

@Henry
I had encountered a similar issue before and maybe this might help. It might have to do with the font size looking good on retina displays, but not on Android. For a quick test, try lowering your font size and see if the text show up. [import]uid: 41496 topic_id: 26380 reply_id: 107236[/import]

Thanks.

The text display as good as they shuld be. just sometimes will go wrong, and sometimes it will show up but being scaled and distorted.

So it may not be the same issue as yours. [import]uid: 82934 topic_id: 26380 reply_id: 107269[/import]

Can anyone help me ? [import]uid: 82934 topic_id: 26380 reply_id: 107640[/import]

I got some information about adreno 205 drivers.

Does it has something to do with that? [import]uid: 82934 topic_id: 26380 reply_id: 107832[/import]

I read “Performance degradation in the new public release” yesterday. Then try the old build of 591 and it is good .

Could corona explain this? [import]uid: 82934 topic_id: 26380 reply_id: 108021[/import]

i think i have the same issue…
need help! [import]uid: 25057 topic_id: 26380 reply_id: 108022[/import]

bring this up. [import]uid: 82934 topic_id: 26380 reply_id: 108182[/import]

Hey guys,

In my experience this is normally related to the texture memory usage being too high for the device.

One way to test this is to create an app just showing the sprite then test it - does it work? [import]uid: 52491 topic_id: 26380 reply_id: 108292[/import]

I’ve make a very small app that only used about 5M texture memory. It is normal at first and wait for a little while some of the text and sprite change to a white box .

There are about 10 different charecter sprites with there name beside them. One may have a part
stack on top of the other one? and they all have a transparent background.
Why build.639 did not have this issue. [import]uid: 82934 topic_id: 26380 reply_id: 108415[/import]

keep an eye on it. [import]uid: 25057 topic_id: 26380 reply_id: 108425[/import]

Henry can you submit a bug report with that info, including that it was fine in 639, and include a sample project we can run/build to see the issue? [import]uid: 52491 topic_id: 26380 reply_id: 108451[/import]

I have submited one and waitting for the answer.

My work has been delay for a week, so i need it to be solved quickly. [import]uid: 82934 topic_id: 26380 reply_id: 108644[/import]

Is there anything news about these issues?

It’s urgent! [import]uid: 82934 topic_id: 26380 reply_id: 109175[/import]

I think it’s android bug…
but few people found it? [import]uid: 25057 topic_id: 26380 reply_id: 109192[/import]

But if you use build.639 to build the same code, on the same device, there will not be any problem.

I think there may be something changed and we shuild not use it again. [import]uid: 82934 topic_id: 26380 reply_id: 109195[/import]

@henry
yep, u r right.
so it sounds like
it’s a good idea to diff build.639 and build.640
to check what’s going on there. [import]uid: 25057 topic_id: 26380 reply_id: 109198[/import]