My Unity 2020.1.8f1 crashes constantly, albeit randomly. Every few days. This is typically when I am doing a lighting burn on a level (various sizes and complexity) or using a procedural level generation tool (I use both CityScape and CityGen3D). It is getting annoying, and I am losing a lot of time rebooting to clear the RAM and redoing my lost work.
Error PopUp:
Other than abandoning my paid for toolset, or not doing lighting burns, what course of action does unity offer?
mark
This can happen if something occupies the GPU for too long (I think the default is 2 seconds?). Windows will think something has crashed and try to reset the graphics card/drivers to keep the computer running. It is not uncommon for graphics tools like lightmappers to accidentally trigger this.
Hi, have you found a solution to the problem? I just updated the drivers for the video card today and now I have the same error.
UPD:
Downgraded video-driver NVIDIA GEFORCE to the old version (456.71 → 440). Personally, it helped me. Everywhere they write different things, someone was helped by reinstalling Unity, someone was disabling Windows Defender.
I read somewhere that it might be related to having too many polygons in the scene and I just had the same crash again, with literally one cylinder and 6 humanoids on it…
TdrDelay didn’t worked, nor Nvidia settings, nor the 2020.1.13f1
Windows 10, Unity 2020.1.13f1, Unity Hub 2.4.2, good PC i7, 32Go Ram, 1080Ti… never had the issue before 2020.1 WTF Please fix this !!!
I have this Error as well and I can reproduce it:
I have a SceneEditor- and a Game-Window open directly next to each other. When I move the seperator-line between them (so I change the size of both), this Error occures every time after a few seconds. It’s nothing you need to do for several seconds at all, but I thought, I post it here for debugging reasons, since it’s really reproducable, I tested it for about 6 times.
My scene is not very complex… a Terrain and some objects, maybe 10-15 lights.
2020.1.4f1 same issue, Nvidia driver 457.30 on GTX 970. I’m suspecting the nvidia driver as I updated it recently and I’ve been using 2020.1.4f1 for months with no issues, have never had this error before updating driver.
Someone managed to get some solution. I have a Samsung Odyssey notebook with Geforce 1050 gpu. NVIDIA 457.30 driver. I’ve done everything, downgraded the driver version, already changed the TdrDelay. But the problem remains. Using Unity 2020.1.8f.
Yup, moving the separator line between game and scene window is guaranteed to cause the crash for me. Though I have gotten it sometimes in play mode and sometimes when just doing stuff the editor. Updated to the latest Nvidia Graphics Driver and still getting the error. Don’t have an antivirus.
Update (things that seem to fix the issue for me):
Not having both the game view and scene view open at the same time when moving the separator.
Disabling HexPlanet GameObject (recently bought (https://assetstore.unity.com/packages/tools/modeling/hexplanet-pro-spherically-tiled-world-builder-65466)). It has 2.8K triangles total spread over 162 child GameObjects and accounts for 640 batches and 5 SetPass calls. Not sure if this should be enough to “Occupy the GPU for too long.”
Those meshes mentioned above have mesh assets generated through script. Changing the mesh assigned to all the mesh filters to any mesh asset located in the project stops the error from occurring.
I’m having the random swapchain crashes since Unity 2020 two to five times a day. Very frustrating.
It happens randomly when changing code and then starting the game.
But once it started, it doesn’t crash for the current playsession.