Search Issue Tracker

Fixed in 5.3.0

Votes

2

Found in

5.2.1f1

Issue ID

730011

Regression

Yes

Images with no sprite assigned will inherit the textures of other images rendered before them

UI

-

Repro steps:
1) Open "TestScene" in the included project.
2) Note the two canvases in the scene, BackgroundCanvas (disabled) and DialogCanvas. Note that DialogCanvas has a Mask gameobject that contains an image with no sprite assigned.
3) Enable the BackgroundCanvas gameobject and observe that the mask is no longer a solid color, but is instead rendering the "SpriteAtlas" texture.

Comments (9)

  1. Hawkon

    Feb 17, 2017 12:41

    Hello, I'm working on a project were I take a photo and display it as an "Image" in a gameobject. When I change to another menu (toggle canvas to another gameobject) and open dropdown menu there I get the photo i took as the background. I've tried to set the background in the options in unity to be the standard background, and also just a white sprite...but it all seems to be overwritten by the texture from the photo.

    Any suggestions how to fix this? I know this issue is set to "resolved" but it think i have sort of the same issue. I'll try work around it now by using "Renderer" but not sure what will come of it:/

  2. leonardon

    Oct 17, 2015 14:15

    Guys, NullZeros solution works fine.

    Create a small white image (I used 32x32), set this as a sprite and apply.

  3. leonardon

    Oct 17, 2015 13:55

    Is there a preview for the releasing date for this patch, "5.2.1p3"?

  4. Woody4618

    Oct 09, 2015 09:22

    When will p3 be released? Took me forever to find out what was going on there :-/

  5. karl_jones

    Oct 05, 2015 14:48

    Its fixed in 5.2.1p3.

  6. BigToe

    Oct 01, 2015 23:25

    This bug has not been fixed with 5.2.1p2

  7. Gardosen

    Sep 29, 2015 12:33

    I can confirm this it by 100%.

    and I am using the same workaround like NULLZERO :D

    Greets

  8. Nullzero

    Sep 25, 2015 16:51

    Appears to still be an issue in 5.2.1p1

  9. Nullzero

    Sep 24, 2015 14:39

    I can confirm that I am seeing this behaviour as well.

    Please fix this asap.

    As a work around, I set all Image components with an empty Source Image to use a blank (all-white) 2x2 texture.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.