- Home /
Unity crashes Firefox
Around 1 hour after I open Unity it fills my system drive so I have no space whatsoever. At this point Firefox crashes and wont open again until I restart the computer. After I restart the computer the drive is normal again, but all cookies are deleted. I tried different Unity versions with no luck. Does anyone have the same problem?
Answer by Bunny83 · Sep 04, 2019 at 02:45 PM
it fills my system drive
Uhm, how much free disk space do you have left before you open Unity? Many complex applications require quite a bit free disk space. In addition if you don't have much system memory your operating system might even create a memory swap file on your harddrive. Usually it's recommended to have at least 10% to 20% free disk space. Though of course it depends on the actual capacity.
The crash of unrelated applications like Firefox is most likely not a direct consequence of Unity but simply the fact that you run out of disk space. There are several reasons why your diskspace might explode when you use Unity:
You have something that in your project that logs tons of messages to the console. This will make the editor log grow very fast. If this happens all the time the file might grow to several GB.
If you have the profiler running and you are deep profiling a very complex task, the memory usage can explode which could result in a large memory swap file.
So I would highly recommend you make sure you have enough free disk space. Though regardless you might want to check your project for logs / warning / exceptions which are thrown on a per frame basis.
Remove unnecessary Debug.Log calls as they are bad for performance in general.
Thanks for your answer. I have around 20Gb free space on C: before I open Unity but my project and the Unity version is on a completly different drive with around 170gb free. And this even happens when I'm working on simple Leveldesign without pressing play once.
Your answer
Follow this Question
Related Questions
Unity 3D Keep Crashing in every site! 1 Answer
Unity instantly crashes when switching from game to scene view. 2 Answers
Unity 2.6.1f crashes 2 Answers
Unity refuses to open on my mac! 3 Answers