- Home /
Can't use URP 2D Lights
I've seen multiple tutorials on how to use 2D Lights in URP but nothing has worked for me so far. They say to create a pipeline asset, a 2D renderer and then have the 2D renderer be the default for the pipeline asset. Then have this asset be the one used in project settings>graphics.
Doing this still doesn't let me add any of the 2D Lights to my scene(they are all greyed out). I've heard there's supposed to be a package in the package manager called "2D Lights" but it has never appeared for me, even with preview packages enabled.
I've tried getting this to work on 2019.3.10f1 and 2019.3.3f1. What am I missing? Thank you in advance.
Which version of Universal RP are you using? I had this problem with 7.3.1, but downgrading to 7.1.8 seems to have fixed it.
7.1.8 is unfortunately the one I'm using right now and having problems with, but I have also tried it on a newer version.
Answer by Rominimaul · May 07, 2020 at 06:47 PM
Update: I somehow solved the issue on my side: There were still a folder "settings" in my assets, containing default renderer created at project start by Unity. Removing this folder unlocked the 2D options.
I had to update existing sprite material by using automated tool (in Edit > Render pipeline), but after that 2D light are finally available
You're a lifesaver, this is just what I needed! I was starting to think I'd never figure it out but now I can finally use 2D Lights. This works on my 2019.3.11f1 version.
Answer by marufdhaka · Jan 19, 2021 at 09:28 AM
Hello, You can not use URP 2D light because you could not use 2D Renderer. After installation URP on your 2D project, you used to create an UniversalRenderPipelineAsset, when you create this asset files its automatically create a Renderer, which is useful for 3D project but not in 2D project, in the 2D project you have to also create a 2D Renderer from Create->Rendering->URP-> 2D Render. Now replace default Renderer by this brand new 2D Rander to your UniversalRenderPipelineAsset, Now Add this asset to your project graphics [Edit->Project Setting->Graphics->Scriptable RP Settings(select the asset)]


this worked for me! I mistakenly created the 3D renderer (UniversalRenderPipelineAsset_Renderer). Once I created the 2d renderer and slotted it into the UniversalRenderPipelineAsset I was good to go, and all my stuff sprites turned black as planned, waiting to react to 2D lights. I had already given them lit materials.
Answer by Rominimaul · May 06, 2020 at 08:15 PM
Same for me... I tried with 2019.3.12f1 and 2019.3.13f1, followed the tutorials, but the 2D lights are still greyed out and not available
Answer by TheHemohscinProject · Sep 04, 2021 at 07:19 AM
Strange, for all of mine none are grayed but they just simply choose not to appear at all
Your answer