Corruption in Scene view when using URP in OpenGL on Linux (2022.2.3f1, 2022.2.5f1, 2022.2.6f1)

The editor crashes soon after it starts in my case; running on Iris XE Graphics, no dedicated card. Should I switch editor version?

Have you tried upgrading the graphics driver version?

i think It makes more sense using linux than windows as a developer point of view, since cross-platform windows/linux/mac is guaranteed to work well when you develop on linux, so this includes Valve’s new console and multiplayer servers. besides, the best ide for C# right now is rider, so you’re not losing anything.

Try with the latest 2021.3 LTS. I didn’t have this problem with opengl when I used 2021.3.27f1.

In my case it didn’t make a difference. Using the latest nvidia 535.

Just for the record, forcing vulkan worked for me.

If it’s (confirmed to be) a driver issue related to OpenGL, you can report this to Nvidia (your GPU vendor) and they might fix this.

Anyway, I suggest switching to Vulkan if possible because AFAIK URP + OpenGL doesn’t support:

  • Deferred rendering path
  • Rendering Layers (Light + Decal Layers)
  • Decals
  • Other modern graphics features

I didn’t know that. Thank you!

This worked for me, thank youuu

Forcing Vulkan instead of OpenGL worked for me too ! Thanks for the workaround

I am experiencing the same problems as the OP. I am encountering the same red artifacts in the scene view while using the Universal Render Pipeline (URP). I am also facing the issue of a grey triangle appearing across the screen, but this only occurs when scrolling webpages through any browser, not so much noticeable in Unity.

I have attempted various solutions, including using Unity versions ranging from 2022.3.x to 2023.1.10f1. I have also updated my drivers, launched the program with the “-force-vulkan” command, and tried nearly all the suggestions mentioned in this discussion thread.

For reference, here are my system specifications:

inxi -Fxz
System:
  Kernel: 6.2.0-31-generic x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.18.1
    Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Laptop System: HP product: HP ZBook Fury 15 G7 Mobile Workstation
    v: N/A serial: <superuser required>
  Mobo: HP model: 8783 v: KBC Version 16.4F.00 serial: <superuser required>
    UEFI: HP v: S92 Ver. 01.14.00 date: 06/28/2023
Battery:
  ID-1: BAT0 charge: 69.2 Wh (100.0%) condition: 69.2/94.1 Wh (73.5%)
    volts: 16.8 min: 15.4 model: Hewlett-Packard Primary status: Full
CPU:
  Info: 8-core model: Intel Core i9-10885H bits: 64 type: MT MCP
    arch: Comet Lake rev: 2 cache: L1: 512 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 1921 high: 2400 min/max: 800/5300 cores: 1: 850 2: 2400
    3: 2400 4: 2400 5: 834 6: 2400 7: 2400 8: 2400 9: 2400 10: 900 11: 2400
    12: 854 13: 900 14: 2400 15: 2400 16: 2400 bogomips: 76800
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: Hewlett-Packard
    driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: Luxvisions Innotech HP HD Camera type: USB driver: uvcvideo
    bus-ID: 1-7:3
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
    unloaded: fbdev,vesa gpu: i915 resolution: 1: 1920x1080~60Hz
    2: 1920x1080~60Hz 3: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa
    23.3~git2309040600.6b4d21~oibaf~j (git-6b4d213 2023-09-04 jammy-oibaf-ppa)
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH cAVS vendor: Hewlett-Packard
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3
  Device-2: HP USB Audio type: USB driver: hid-generic,snd-usb-audio,usbhid
    bus-ID: 5-1.3.5:12
  Sound Server-1: ALSA v: k6.2.0-31-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel Comet Lake PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-LM vendor: Hewlett-Packard driver: e1000e
    v: kernel port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: down mac: <filter>
  Device-3: Realtek RTL8153 Gigabit Ethernet Adapter type: USB
    driver: r8152 bus-ID: 6-1.3.3:10
  IF: enxc85acf8dfa98 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br-2579a725341d state: up speed: 10000 Mbps duplex: unknown
    mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
  IF-ID-3: vethda4c6f4 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
Bluetooth:
  Device-1: Intel AX201 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:5
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
    bt-v: 3.0 lmp-v: 5.2
Drives:
  Local Storage: total: 1.84 TiB used: 364.94 GiB (19.4%)
  ID-1: /dev/nvme0n1 vendor: Western Digital
    model: PC SN730 SDBPNTY-1T00-1006 size: 953.87 GiB temp: 36.9 C
  ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB temp: 24.9 C
Partition:
  ID-1: / size: 753.4 GiB used: 182.42 GiB (24.2%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 256 MiB used: 101.2 MiB (39.5%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
  System Temperatures: cpu: 51.0 C pch: 44.0 C mobo: 25.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 419 Uptime: 26m Memory: 30.68 GiB used: 7.39 GiB (24.1%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.4.0 Packages: 2902 Shell: Zsh
  v: 5.8.1 inxi: 3.3.13

Still experiencing the same issue on 2022.3.x when using URP. This does not occur on default renderer. Switching to vulkan fixes the corrupted red dots issue, however whenever you select an object on edit scene, the editor crashes, so using URP becomes pretty much unusable.

Still an issue with unity 6.

I’ve found this problem as well. Because Vulkan doesn’t currently work in Unity with dual-gpu, I’ve decided to just use the built-in renderer for now (until I need URP, or the issue is fixed.)

This is disappointing, as there are so many advantages with URP!

Still the same problem. Forcing Vulkan worked for me.

Recently switched over to URP again after updates.

Seems to be fixed on Unity 6, though Vulkan is still broken for dual-gpu.

I just installed Unity 6 on Ubuntu 20. “Red dots” problem is still present. I had to switch from URP to default render

This issue still exists on Unity 6000.1.1f1 on Ubuntu 24.04.2 LTS. The -force-vulkan seams to fix it.

Go to Edit → Project Settings → Player → Windows, Mac and Linux (The little desktop icon) → Other Settings.
Then disable Auto Graphics API for linux.
After that, move “Vulcan” to the top.
Restart the editor.
It worked for me and hopefully it works for you too.

A similar issue is below:

Hi all,

I’ve been reading a little on this issue as it’s stopping me from using an aging laptop running Linux Mint. I am unable to use Vulkan on this device, so switching APIs is not an acceptable fix for this device, and URP at this point is a necessity for its performance improvements.

This is not a fix for the half-triangle, but the red noise only occurs with Post-Processing and Skybox enabled (Scene View only). If you are able to disable these two effects in the drop-down (top-right of scene view; two stacked layers with a star), you will be able to use the Scene view as intended and the Game View is unaffected. I do hope it gets fixed eventually but OpenGL is old news and I’ll just be grateful it hasn’t been removed altogether.

Tested with 6000.1.17f1, Default URP 3D template.