When running on Android, pure colors doesn’t work. If I try to create a cylinder using MeshInstance3D it will appear black on my phone. If I try to set a pure color to another 3D object, it’s black. UI elements, for example if I use a color rect or simply set a color to a button etc will just not show at all. I’ve not done any changes to the Android export settings. Any ideas?
Thank you for your response. It appears the UI issue is due to the device, it does not work on my mobile (Huawei P20) but it works on Galaxy Tab S5e. I’ll need to figure out a workaround. I also tried a clean project where the colors seemed to work on the meshes. I don’t see any differences in settings so far but I will continue to look into it.
It looks like Huawei uses a mali-g72 and the Samsung uses a ardreno 615. While the Mali seems more advanced and supports newer APIs compared to the Samsung GPU. It seems odd that one works.
Like @Kaboom57 is suggesting you can try to changing the capabilities of the internal shaders by switching render modes. Although you ultimately want to target the mobile render to work with tile based GPUs.
Yes, both work fine on Huawei P20 in compatibility mode. It seem I can get around the problem by using ShaderMaterial instead of StandardMaterial. Thanks for the help!