Very common beginner problem. The solution to make your lens flares working in Unity:
- Make sure your camera has Flare Layer component.
- And make sure your light object is not covered by any collider.
Try these two checks then you will see your lens flare working.