When I restart the level, everything doesn't move

I have a restart button in the top right corner of my screen, but when I click it, it reloads, but there are no lights, and I can’t move my player or look around. I have a function set up with the onClick event, that does Application.LoadLevel(Application.loadedLevel). Please help, I’ve spent a long time researching this but cannot find anything.
Thanks in advance.

Hmm, strange. i had a similar problem in the past with the lights which ended up with me having to turn off “continuous baking” (windows/lighting/scene/).
could maybe try that

Just for anyone who sees this post in the future with a similar issue, I solved the problem. Turns out, there were multiple. First, I needed to set static variables to their initial value in the Awake() function. Then, I needed to turn continuous baking off and build it so that the lighting stays consistent. The lighting issue is a bug, and it has been reported. Kudos to user Shadeless for figuring it out!