[5.3] Elements in the UI flicker between different sprites

I recently switched from 5.1 to 5.3 for our project, and I got some issues with flickering elements in the UI. I’ve uploaded a gif of the problem:

http://gfycat.com/QueasyDeadlyLangur

As you can see, when I move the purple selection between the between the social buttons at the bottom, the logo at the top flickers with the FB or Twitter logo for one frame.
Also two button prompts in the bottom left corner (the Space bar and the Esc button) flicker with some other sprite.

My menu does nothing more than move the rect of that purple sprite around. It was working up to 5.1, and now it’s broken. I’ve tried everything (Reimport All, etc.) to no success.

Anybody suffering the same fate?

2 Likes

I’m suffering from the same issue on my Android app.
Seems it’s choosing “random” elements and putting on the other sprites when redrawing. It’s very weird, and doesn’t make any sense.

I have the same issue on Universal Windows App. I don’t use any 2D sprites. Its problem exlusively on Unity UI

Yeah, just to clarify: I used the word “sprite”, but I’m referring to the UI too.

Seems to be fairly widespread, have you logged a bug report @ccontinisio ?
must admit, I didn’t see any such issues during the beta.

I’m in a bit of a rush today, but I will (I need to re-install 5.3, duplicate the project, reduce it to upload it, etc.)

Experiencing the same issue upgrading from 5.2 to 5.3. We’ve been reluctantly using SetSiblingIndex to manage UI Image depth which we thought may be the culprit. However we also notice this flickering is primarily on masked objects, so perhaps its related to masking and the stencil buffer. Has anyone made any progress on identifying the root cause of this issue?

I have seen a few people mention this. Somebody please file a bug report with a repro project!!! Pretty please :slight_smile:

Edit: Seems the sprite is flicking to the wrong texture. Looks similar to an issue we fixed recently where sprites had no texture and would default to the previously used one, I wonder if this is related.

1 Like

I’ve filed a bug report.

Think this may be the same issue. http://answers.unity3d.com/questions/1109981/2d-sprite-animations-flicker-on-first-run-in-unity.html?redirectedFrom=1110651

1 Like

I could throw in “GI update”. I have that flickering, too, and I was trying to make a smaller repro project. It occurs only when I move my only directional light and GI cpu consumption is set to low.

1 Like

Same problem here, on Linux build (OpenGL) and sometimes on Windows build in dx9 mode.

Hi any updates on this issue?

same issue

Still being looked at by QA. If you have a simple example project with the problem you can share then drop it in here. May help speed things up.

Any news on this issue?
Can we expect a patch soon?

I have the same issue and I have sent a bug report with a project attached. Note that this only appears on some systems - my laptop has that problem, while my desktop system does not. I assume it’s related to the specific graphics card used.

I found the solution by manny mistakes.
For us to work everything without flickering i just change the “Max Size” on all our sprites to 1024 and the “Format” to “Compressed” . We hope this work for you guys two.

Same issue here … every new version of unity breaks something, thats pretty sad :\

And disable GPU skinning

I can also confirm this happens on 5.3.1 - only started with 5.3, it was working fine on 5.2.x

Activating/deactivating UI components causes noticeable flicker elsewhere in the UI - not just on the UI element being operated on. For example, I have flyout text boxes in my UI - when a flyout disappears, for just one frame other parts of the UI will flicker, as their textures get replaced with a seemingly random other texture or material. Then the next frame it’s back to normal. This is very unpredictable, one run will have less flickering, while another run will have more of it.

It only happens in standalone build. It doesn’t happen in the editor.

I’ve seen it on Windows 10 and OS X. It seems that weaker video cards really bring it out: a Windows desktop will show it very rarely, a Windows laptop with integrated Intel will show it more often, while a 2 year old Mac Mini shows it almost all the time when the UI is being stressed.

EDIT: I confirmed it’s a 5.3 issue by downgrading to 5.2.x and the flicker does not happen there.

1 Like