I had that happen too where my beam of light suddenly stopped working and I spent about 30 minutes debugging to figure out what happened. Turned out I had moved one line of code that had been after another line to be before it as part of some code cleanup, but the order had actually been needed. 😐