Unity freeze after few seconds.

Hi there. In editor when I press game it runs for about 10 seconds. After that it freeze. Anyone had this before?

It could sound like an infinite while loop, try checking all the while loops, and see if any of them could by chance be infinite...