I am trying to make a bullet hell shooter but I have gotten to the point where Unity becomes unresponsive whenever I begin test play and I have to force quit the application (I am working on a Mac). I’ve been getting more freezes lately after making minor changes, but after just slightly editing a few scripts (basically adding code that changed some public variables) and it has gotten to the point where if I press the play button I have to restart Unity. I really haven’t made any major changes since the freezing started so I am very unsure what is going on. Has anyone had a similar problem or no of a common error that results in this or anything like that?
It is most probable that your code goes into an infinite loop.
You can try putting some breakpoints in the code and try to identify the sequence which repeats endlessly.