Quantcast
Channel: Questions in topic: "crash"
Viewing all articles
Browse latest Browse all 2383

Unity Editor keeps freezing randomly. How to find out why?

$
0
0
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?

Viewing all articles
Browse latest Browse all 2383

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>