• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
7
Question by ReconProbe · Apr 20, 2020 at 08:53 AM · 2dlights

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.

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image RossAlexander · Apr 20, 2020 at 06:07 PM 0
Share

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.

avatar image ReconProbe RossAlexander · Apr 20, 2020 at 08:35 PM 0
Share

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.

4 Replies

· Add your reply
  • Sort: 
avatar image
8
Best Answer

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

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ReconProbe · May 08, 2020 at 02:00 PM 0
Share

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.

avatar image shaaafeee · Jun 16, 2020 at 10:36 AM 0
Share

Exactly what I was looking for. Thanks a lot

avatar image banksazero · Aug 29, 2020 at 08:21 AM 0
Share

Thank you a lot

avatar image niklas_erhard_olsson · Nov 04, 2020 at 09:45 PM 0
Share

Yes! This was it chief. Thanks!

avatar image
1

Answer by marufdhaka · 5 days ago

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)]

alt text

alt text


screenshot-2021-01-19-152055.png (176.7 kB)
screenshot-2021-01-19-150803.png (185.3 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image d2clon · 2 days ago 0
Share

This worked for me

avatar image
0

Answer by Jompaney · May 06, 2020 at 06:12 AM

I am having the same problem:( How can I fix this?

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

268 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Why do 2D Lights render past shadowcasters. 1 Answer

How to make lights overlapping not to add their intensity? 0 Answers

Extrange Behaviour with 2D Lights in Universal RP 0 Answers

Problem with lights in 4.3 1 Answer

Assets/Scripts/PlayerController.cs(32,49): error CS0126: An object of a type convertible to `float' is required for the return statement 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges