Hi everyone, I have updated Unity to the latest LTS version, I have created a new URP project, but I am getting these red small squares in the editor tab but when I switch to the game tab everything is fine.
Here are some information that I can share:
Unity version: 2022.3.2f1 LTS
Os: Ubuntu 23.04
Same issue for me with 2022.3.0f1 LTS on Ubuntu 22.04, except i don’t have the square pattern, just the whole scene tinted red. Game is fine. The same project on Windows doesn’t have this issue.
Also having the same issue; Unity 22.3.3f1, Ubuntu 22.04, using X11. Additionally to the red tint, my editor also constantly displays a NavMesh, and I can’t seem to turn it off.
I noticed in the last screenshot that the editor is running in opengl mode. We had trouble doing so on Linux and forced the editor to Vulcan ( i think there is a commandline option for it )
Otherwise we always had editor crashes . but that was already some time ago, using an older Editor version, so YMMV
Just installed 2022.3.3f1 and it seems like there is no more issue for me. That said, it is a new computer with a fresh install of Ubuntu 22.04 so i don’t know if Unity fixed it or it’s just my install that changed something.
I asked some college who is using ubuntu 22.04 too if she experience the problem in the editor with the red artefacts, and she could’nt reproduce them…
Did you clear your library folder before the Unity upgrade?
I would recommend doing so from time to time, especially before major editor version updates
Very similar bug in my case on mac os Catalina (with openGL 3.3 support - geforce 9600M GT graphics card, legacy hardware in other words). Although instead of the red color, the white hue is converted to cyan in the scene view (see attached picture). So far I have found some similar topics as in here and here , but none was helpful in my case.
Built-in, URP with (2D Data) renderer projects are fine. The moment I add the URP (Universal renderer) asset the issue comes up only in scene view (shaded mode) and urp material preview. It seams to be a malfunction between certain graphics drivers (not sure if it occurs only in old hardware) and the way the scene and material preview cameras are compiling the URP shaders. Seemingly, the result is that the white color output has no zero rgb values.
Two sidenotes:
The newest version I don’t have the issue is unity version 2021.3.28. As a matter of fact I had graphics issues again in URP projects and in the scene view in that version, but they were resolved the moment I switched to lower quality settings.
All of my testing was done in several 2022+ versions, with new projects, and the default settings except of one: I have selected ISPC (legacy) in the BC7 Compressor Editor settings, because otherwise Unity crashes when URP assets are imported. (see here )
As @ukur_v said, we can go to project settings → player → other settings and change from OpenGL to Vulkan.
We can also do it from Unity Hub. Go to the 3 dots at the right of the project name. From the menu choose add command line arguments and write:
-force-vulkan
This solved the issue with Ubuntu as @spacefrog suggested