Shader errors after updating project

Hi,
I’m getting the follow error when opening a project that I haven’t opened for a few months.

Could not create a custom UI for the shader ‘Universal Render Pipeline/Lit’. The shader has the following: ‘CustomEditor = UnityEditor.Rendering.Universal.ShaderGUI.LitShader’. Does the custom editor specified include its namespace? And does the class either derive from ShaderGUI or MaterialEditor?
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

This is a project based mainly on Synty models. It was working, been away on work for a few months on work, updated Unity and I now get pink and that shader error.

Unity 2021.3.9f1

Any ideas what’s happening?

8474999--1126463--upload_2022-9-29_8-45-13.png

8474999--1126460--upload_2022-9-29_8-44-51.png

This is not really a scripting issue, more like a general unity, URP or packages one.

Some things I’d try:

  • Reimporting the entire project.
  • Updating/Reinstalling URP package and dependencies.

Remember to back up your project before updating or trying the above.