URP 2D renderer not working

hey y’all,

so I’ve been trying to update my 2D project to use the URP renderer but it just isn’t working. I’ve downloaded it from the package manager, I made a URP asset and assigned it in the graphics tab of my project settings, I converted all the materials in the render pipeline converter and I’m using a 2D renderer asset in the URP asset’s Renderer List. I was expecting the project to appear black or unlit but it just stayed the same. Adding lights doesn’t change the scene at all.

5 Answers

5

I would try to reinstall package. Did you check if materials on objects changed to Lit? Also try to change lights during game, if it works or not.

hey thanks for the reply! the materials on the objects are all lit, and reinstalling the package didn't work. I've tried to put really bright lights in the scene to see if it affects the sprites but it doesn't :(

OKAY so after reimporting the package and reimporting all my assets, adding a light changes the scene and now its working. Thanks for the help :)

Up please ! I have the same problem

I have the same problem and I don’t know how to solve it… do you have any idea ?

There are extra steps for URP 2D. Check this video:

I have already done everything that has been said in this video...

Thankyou so much, it worked for me!.

If you are sure that you have set every necessary details right, there’s one trick you need to check: remember to toggle on the scene light , which is a lamp icon, at the right up corner of scene view. or at the right of the 2d/3d switch button.

if you have toggled it off, unity seems to add auto light to the scene(not component), so the sprite won’t be affected by the 2d light.