Problem with prefabs and points of light in 2D scene.

Hello, I have 2 weeks with unity and I want to make prefabs with point of light, the problem is in the Scene view the lights of the prefab lits the background correctly, but in the game view I don’t see it. If I create a single point of light in the scene it renders, but the lights of the prefabs objects no.



The images show the scene with the prefab objects lit, and the Game tab with no light emitting from the light points.
I’m using unity 2020.3.20f1.

I solved it. The point of light was a child of the prefab object and not a component. I make it a component of the sprite and problem solved.