Output differs on Android

Hi, I have a simple scene. A blue plane with two cubes on it, one red, one yellow.



It looks fine on PC but when I run it on android I get the objects in the right place but wrongly colours. The plane is white and both the cubes are blue!



Any idea what could be causing this?



Thanks



Si

Can you post a test case showing the issue?

Also, what device does this happen on and what Android version?

Yes, I shall post a test case. I apologize for my awful unhelpful question. I think it was late!



I’ll have to post the test case later when I am back home

Heres an example. http://www.2shared.com/file/TrWm5iko/src.html



The rotating cube is green in the code (line73) and shows that way in the Default Config build. On Androd, it is white.



Bizarrely, BasicGame works on android, and the blue cube can be recoloured.



Its like the material isnt responding to the Diffuse setting.



EDIT



THis is on an HTC Incredible S, Android 2.3.5

I think I’ve isolated the issue so started a relevant thread:

lighting-j3md-overrides-material-colour-on-android-not-on-pc

A further issue was the fact that this line causes all sort of weirdness on Android:



[java]bulletAppState.getPhysicsSpace().enableDebug( assetManager );[/java]



The statsview shows the number of objects increasing rapidly, and you can see a scrambled mess of wireframe lines over the boxes.