Yeah, it was an infinite loop, but Unity does not have a check for stack overflow. I had to find the while loop and give it that cap itself.