Why Does My Spotlight Turn Off When Playing?

I have searched around everywhere. I was following a tutorial I came across online for creating a flashlight.
Literally all Ive done so far, Is create a simple spotlight and attached it into my main camera, I only changed range to 20 and intensity to 10 so I can see it. within the scene and game views I see the spotlight just fine, imitating a flashlight. However, when I play the game, the spotlight turns off?? No matter what I do it stays off when launched?

Any help is appreciated, thanks.

Try setting the render mode from “auto” to “important”.