Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Image appears as a black square

Discussion in 'UGUI & TextMesh Pro' started by fegabe, Aug 21, 2020.

  1. fegabe

    fegabe

    Joined:
    Jan 3, 2015
    Posts:
    18
    Hello,

    I'm working in an android application where I render several images in different scenes. First time I load the images look fine, but after two-three times I move between the scenes, some images start to appear as black squares.

    Here is when the heart icon looks ok:

    heart_ok.png

    Here is when I go back from another scene and it looks as a black square (and also another image in another scene that happens the same)
    heart_KO.png
    bike_KO.png

    Here is the information from the frame debug black_image_1.png

    And here how the sprite is imported.
    heart_import_settings.png

    I have no idea what's causing this. Could anyone help me with some hint?

    Thanks!
     
  2. fegabe

    fegabe

    Joined:
    Jan 3, 2015
    Posts:
    18
    It also happens in iPhone, but it works ok when using the editor.
     
  3. ggmobi

    ggmobi

    Joined:
    Dec 9, 2015
    Posts:
    5
    Hey @fegabe , we are having the exact same issue. Could you find a resolution for the problem?
     
  4. fegabe

    fegabe

    Joined:
    Jan 3, 2015
    Posts:
    18
    I upgraded from 2019.4.6f1 to 2019.4.11f1 and the issue dissapeared

    I hope it helps!