How do I get my flashlight to work?

I made a flashlight in the game by using a spotlight and putting it in front of the first person controller. It worked fine when I tested it, but when I built the game as a web player, the flashlight didn’t work. All that happened was that the ground kept glowing and got really bright. How do I fix it so then it will work when I build the game.

Go to Edit>Project Setting>Quality> and change the default build setting for mobile devices the issue is the pixel light count… try it out and see if that fixes it