Unity freezes my whole PC, causing me to restart my whole computer. It happens in editing mode and in play mode. It only happens in one scene, there’s isnt a lot more then other scene’s I make, so the amount of objects isn’t a problem. Is there anyone with the same problem? Or does anyone has a solution? This keeps happening, I don’t get any errors or messages when I have restarted.
1 Answer
1This can happen when Unity is baking the lights; the processes use a huge amount of memory and can make it impossible to use the computer at all. Setting up the GI cache (in Edit/Preferences) to the maximum would help with that.
How much memory do you have? How much memory did you allocate to the pagefile (Virtual memory in 32-bit version of Windows - Windows Server | Microsoft Learn)? Setting up a (very) large pagefile would help a lot too.
I have 10 GB of RAM in side my PC, but I fixed the problem by copying everything from the scene where everything was stuck, then dropping it into a new scene. That worked for me.
– VelorexeHow is it a hardware question? (Except for the fact that I have a toaster for a computer)
– warhammercasey
I have the exact same problem, it can happen even when Unity does not have the focus. I can't kill the process, I can't open a new tab in Firefox etc. Sometimes I can't even reboot (the logout screen stay forever) and have to do a hard reset.
– Quittouff