Spotlight or pointlight arent working at all in world

I tried to make a flashlight for my game but it wasnt working and i thought it was because i was trying to use when it was attached to a componant, but even when i placed one in the world it didnt work.

no matter what i do it just doesnt work, turning up the brightness, changing the GI from lumen to none or screenspace i dont know why its not working.