[Help] Trouble with returning from a sub-routine

The sub-routine called GameOver() is called, the last line of the code is executed (print statement)
but it Never returrns to where it is called from. Can anyone help me to unravel this mystery.

I have tried rebooting Unity in case it was just a glitch.
I also tried using return; as the last line of GameOver();

Notice that GameObject() is called but the print statement right after it is never executed:

As a troubleshooting method, I might suggest commenting out parts of your GameOver method to see if there is something being triggered that is causing unintended repercussions. When you find out what line is causing the issue, it should be easier to solve.

Privacy & Terms