After Hover Button Image is not Reseting

Hi,
I am making a 2D button UI. For that in Button, in transition mode, I am using “Sprite Change”
When I hover, the hovering sprite changes successfully but when I remove my curser, the previous image is not loading. A white background Appears.

image

image

image

image

Hi @Faisal,

That’s interesting. Can you try as a test to reference a sprite instead of a texture on the element component? Thinking if that produces a conflict.

1 Like

@Leonidas it worked when I reference a sprite in element instead of texture. But this is very confusing.
Playcanvas should disable “Sprite Change” option in the transition mode of the Button when texture is referenced in ELEMENT or Make it possible for this too.

1 Like

@jpaulo Something for you to potentially look at in the future?

1 Like