Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

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

Discussion in 'Universal Render Pipeline' started by simad3647, Jun 15, 2023.

  1. simad3647

    simad3647

    Joined:
    Nov 25, 2022
    Posts:
    3
    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:

    Screenshot from 2023-06-15 11-28-40.png

    The game tab looks like this:

    Screenshot from 2023-06-15 11-30-44.png

    Anyone knows how to fix this issue?
     
  2. Starboxx

    Starboxx

    Joined:
    Jun 30, 2017
    Posts:
    3
    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.
     
  3. hdaniel_unity

    hdaniel_unity

    Joined:
    Dec 30, 2021
    Posts:
    8
    Same issue for me with 2022.3.2f1 LTS on Ubuntu 22.04
    upload_2023-6-16_9-40-43.png
     
    Farfi55 likes this.
  4. simad3647

    simad3647

    Joined:
    Nov 25, 2022
    Posts:
    3
    Oh, all of you guys have the same issue on Linux, I wonder if people using Windows or Mac also encounter the same problem?
     
  5. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    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

    Screenshot from 2023-06-21 19-55-48.png
     
  6. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    Not sure, but isnt that redish color the default outline color? ( i might be totally wrong). What happens if you disable the selection outline?
     
  7. Vitor_Cr

    Vitor_Cr

    Joined:
    Jun 22, 2023
    Posts:
    3
    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.
     
  8. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    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
     
  9. Vitor_Cr

    Vitor_Cr

    Joined:
    Jun 22, 2023
    Posts:
    3
    I've also tested a project using Unity's built-in renderer, and it looks fine, so it seems the issue is URP exclusive.
     
  10. Vitor_Cr

    Vitor_Cr

    Joined:
    Jun 22, 2023
    Posts:
    3
    Tried switching to Vulkan, and while it did fix the graphical issues, clicking on anything on the editor made it crash.
     
  11. simad3647

    simad3647

    Joined:
    Nov 25, 2022
    Posts:
    3
    I downgraded to Unity 2021.3.27f1, opened the same project and found no problems.

    Screenshot from 2023-06-23 08-56-23.png
     
  12. Starboxx

    Starboxx

    Joined:
    Jun 30, 2017
    Posts:
    3
    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.
     
    spacefrog likes this.
  13. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    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...
     
  14. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    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
     
  15. spacefrog

    spacefrog

    Joined:
    Jun 14, 2009
    Posts:
    730
    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
     
  16. Farfi55

    Farfi55

    Joined:
    Jul 18, 2016
    Posts:
    11
    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.
     
  17. dot_entity

    dot_entity

    Joined:
    Nov 2, 2012
    Posts:
    76
    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:
    1. 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.
    2. 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)
    cyan tint.png