URP red squares in the editor tab problem in Unity 2022.3.2f1 LTS

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

The editor tab looks like this:

The game tab looks like this:

Anyone knows how to fix this issue?

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.

Same issue for me with 2022.3.2f1 LTS on Ubuntu 22.04
9084727--1257760--upload_2023-6-16_9-40-43.png

1 Like

Oh, all of you guys have the same issue on Linux, I wonder if people using Windows or Mac also encounter the same problem?

Same issue here, unity 22.3.0 LTS, Pop!_OS 22.04 using Wayland.
Only the game tab rendering looks normal, the rest seems to be broken.

opening the same project on windows result in no rendering issues at all

9095518--1260340--Screenshot from 2023-06-21 19-55-48.jpg

Not sure, but isnt that redish color the default outline color? ( i might be totally wrong). What happens if you disable the selection outline?

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 tried this, but it sadly didn’t do anything.

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

1 Like

I’ve also tested a project using Unity’s built-in renderer, and it looks fine, so it seems the issue is URP exclusive.

Tried switching to Vulkan, and while it did fix the graphical issues, clicking on anything on the editor made it crash.

I downgraded to Unity 2021.3.27f1, opened the same project and found no problems.

9099796--1261087--Screenshot from 2023-06-23 08-56-23.png

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.

1 Like

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…

I think it’s possible the GPU and drivers play a big role in this.

are you using the same computer that you first encountered problems with?

I’ve also tried upgrading to 22.3.3f1 but that didn’t seem to help

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

The project was created in 2022.3.0 so no major changes, but I tried doing as you suggested and it didn’t fix it.

@Starboxx can you provide your GPU model and the version of the kernel you’re using? Or anything that you consider worth knowing to try to find a fix.

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 )

Any updates on this? I have the same issue with Ubuntu 22.04.3 LTS and Unity 2022.3.12.f1

1 Like

мне помогла смена OpenGL на Vulkan в настройках редактора (project settings → player → other settings). У меня popOS, на убунту думаю тоже сработает

2 Likes

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

3 Likes