ColorRect doesn't show after build (Android)

Godot Version

Godot 4.1.2 stable

Question

Guys I need help. I have exported my game to test on android, and every ColorRect in all scenes has disappeared. I have no Idea why. Do you have any clues? Or any advice for me, please. They work perfectly on the Godot editor.

Godot 4.1.2 stable / Vulkan API 1.3.260 - Forward Mobile - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce RTX 3060

Thank you very much.

if you change the colorRect to panel with styleboxflat with the same color, will it work then?
i think it’s just a workaround for your issues now
question is which renderer do you use for android build?
have you tried on other phone/devices?

Thank you very much, I found the answer on the Godot Engine Facebook page. I am not sure should I display his name or not, so I just copied his advice and pasted it here.

“It can happen for example if the texture is not loaded, or if it’s in a container, then try with custom minimal size setting to fix the colorrect size. I would try fix first with a viewable color (like magenta) without texture.”

Then I start to delete my new TileMaps and my ColorRect are back to function.

1 Like