Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Bug Creating new script breaks URP completely

Discussion in 'Universal Render Pipeline' started by alexanderameye, Jan 23, 2021.

  1. alexanderameye

    alexanderameye

    Joined:
    Nov 27, 2013
    Posts:
    1,312
    I'm having this extremely annoying issue where sometimes when I create a new script or make a change to a script, Unity will do the recompilation and the little loading icon appears on the bottom right, but then when that's over, URP is completely broken.

    All the URP-related inspectors (camera, pipeline assets etc) all look like this



    So they are all drawn without their custom property drawers I guess, but then also all URP materials are pink and yeah, URP just doesn't work at all anymore.

    The only possible fix I've found is to remove the URP package, and add it again, which is very time confusing and I've had to do this like 10 times today...

    Anybody else having a similar issue? I really don't know what to do
     
unityunity