(I tried to refer a few videos on using Universal Rendering Pipeline but they didn’t seem to work either.)
You’re using a normal point light. The z-value can cause disappearing lights if not right. Try adjusting it. You might also want to try marking both lights as Important in Render Mode Unity - Manual: Lights
You may want to instead use the 2D Renderer GitHub - Unity-Technologies/2d-renderer-samples: Samples for Unity's 2D Renderer See also YouTube guides on how to set it up.
It’s easier to get lights working the way you want because it has special 2D-specific lights.
When I am using 2D renderer my scene should turn dark so I can light it up but it’s not happening. what should I
When I am using 2D Renderer, my scene should turn dark so I can light it up but its not happening. What should I do then?
My first guess is that you don’t have the 2D Renderer setup completely. If you go to Project Settings > Graphics, is the 2D Renderer asset plugged into the correct slot?
See:
I did it right.
Any errors? Errors can cause strange things on the editor.
Show your Light2D’s Inspector.