unity-game-enginepipelinerendererurp

URP lights are not working in unity, they first worked


My project uses the URP lights that were well configured, but a while ago they stopped working, they even disappeared in the menu, the lights that are in the scene do not work and there is the following error: "error 2d renderer data must be assigned to your urp asset or camera". I am not able to fix this error.

No URP lights, and the lights error is global or normal that already had in the project

It has URP lights, but it doesn't let you add it

URP configuration

URP configuration

I have already reinstalled the URP and configured it again and the problem persists.


Solution

  • I don't know why, so please check them one by one.

    Is this a Render Pipeline Asset for 2D?

    enter image description here

    enter image description here

    Have you set it to Quality setting?

    enter image description here

    Did you set it to Graphics setting?

    enter image description here

    Is the Camera's Renderer specified as Default Renderer or 2d's Renderer Pipeline?

    enter image description here