The first screenshot shows the application running in the editor and working correctly. The second screenshot shows the application running on a real Android device and not working correctly - the images are dark and some of them are not displayed. Below are screenshots and how images are obtained from the Internet. How to fix it?


$HTTP_hero_image.request("https://cdn.cloudflare.steamstatic.com/apps/dota2/images/dota_react/heroes/"+settings.images_heroes[match_.hero_id]+".png")
var image_data = yield($HTTP_hero_image, "request_completed")
var image = Image.new()
var image_error = image.load_png_from_buffer(image_data[3])
if image_error != OK:
print(image_error)
match_field.get_node("MarginContainer/VBoxContainer/HBoxContainer/HeroName").text = str(image_error)
var texture = ImageTexture.new()
texture.create_from_image(image)
match_field.get_node("MarginContainer/VBoxContainer/HBoxContainer/HeroImage").set_texture(texture)
$MarginContainer/VBoxContainer/HBoxContainer4/ScrollContainer/VBoxContainer.add_child(match_field)