I am creating a physics heavy 2d game with the latest version of Unity. Lately the editor has stared to freeze on play mode almost every time. The whole program just freezes after 1-5 minutes of play mode and I have to kill Unity from Task Manager.
First I made sure there are no infinite loops nor functions calling itself. Then I tried to pinpoint the problem by disabling some scripts and objects. I also tried to put Debug.Log("location in code"); -lines in my scripts to find out in the console where exactly does the crash happen. But I haven't been able to find anything useful, the editor freezes always outside of any function from any script. Is there any tool or magic trick that could give me any additional information about the crash?
↧