I broke URP

I’ve attached a screenshot of my editor when loading a new URP scene. I get this strange orange-speckled effect in the scene window and with all the materials in the project tab. I think I broke it when I built a fairly complex shader using a shader graph a while back. The built-in renderer and HDRP are fine. Do you have any ideas on how I might fix it?

Does running in Vulkan (I assume this is Linux?) help?
If so, or in general, please make a bug report

Indeed, Linux, and Oooo - switching to Vulkan defo helps (I did that by following instructions here: Documentation – Arm Developer)—thanks! The scene is rendering correctly, and although some of the pre-installed materials still seem a bit broken, if I create new materials, they render correctly.

Er - does that give clues as to what the problem is?

…I’d log a bug, but I have no idea how to recreate the problem or under what conditions I caused it, so I’m not sure there’s much point…

Maybe reimport the materials while using vulkan? Or the whole project by deleting the Library folder when the proj is closed.
I have seen similar issues before, so maybe you can find similar posts

If you make a report with Unity in OpenGL mode and state your linux version and hardware they should be able to look into it. I assume all gpu drivers etc are up to date. And if they cannot repro they still make a note in case it is reported more often

1 Like

Same issue here: Red rendering plane all around, sparkles present.

Linux <hostname> 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug  2 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
KDE Plasma: 5.27.11

All paths are shown for KDE
Start -> System -> Info Center
Section: Hardware -> Graphics processor was showing: Intel GPU (Instead of Nvidia GPU)

Fixed with:

  • first did (order might matter): Start -> Settings -> NVIDIA Settings -> GPU 0 -> PowerMizer -> Preferred Mode: Prefer Maximum Performance (dropdown at the bottom of page);
  • check if nvidia prime is installed: dpkg -l | grep prime should show ii nvidia-prime;
  • check active adapter setting: prime-select query mine was on-demand;
  • force use of nvidia: prime-select nvidia;
  • reboot;

Now I got normal colored background in Unity running with OpenGL 4.5 and large scale of interface in KDE :slight_smile: (still working on last one)

Hope it helps;

Ah, nice. Please forgive my slow response. I saw your reply, but I’ve only just had a chance to act on it.

To cut a long story short, that force use of nvidia fix has worked for me, too! Thank you!

1 Like