Unity UI Elements Stuck & Hiding (Until Refresh UI)

Hello,

In fact, this problem exists since Unity ~v.5. (Actually, This problem has been in all versions since 5, never fixed until now) I do not know what’s causing this problem. When using a different program, after switch to Unity, this problem is occurring. I need to do an UI Refresh (Like Enable/Disable, Move UI Elements, etc…) to solve this problem. Otherwise always stay like this.

Picture :

Imgur

Windows 10
Unity 5.6.1f1
Plugin : Only Dotween Lastest Version

Thanks… :slight_smile:

Is this in game or just in the editor?

Never specifically seen that behaviour but it looks like it’s auto-correcting based upon the screen resolution somewhere, which is throwing it all off. The “Maximise” event obviously isn’t redrawing correctly.

Without some sort of repo project, it’s very hard to say really.

Just in the editor. I do not know what caused. I’m not re-drawing or changing the resolution with manually scripted algorithms.

And there is also ‘Scale’ variable changing with it, normally it is between 1X and 5X. But it drops below 1x. Like this ;

What I have done in various scripts in the UI Extensions project, is to use the OnValidate MonoBehaviour method, to force the UI to redraw. This usually resolves issues like this.