This error happens on both Unity 3D and Unity 2D. I tried
unity --reset command but it doesn't fix the error. Gnome shell properly shows all three buttons minimize maximize and close. But Unity doesn't show it properly. How to fix this error?
Here's the screenshot: